From 18a237d72640886c7c0fc46ce5cac3ebb1b83de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 29 Jul 2019 18:33:05 +0200 Subject: [PATCH] application (minor): fix string and spacing --- application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.c b/application.c index bdc7e65..b25dddb 100644 --- a/application.c +++ b/application.c @@ -147,7 +147,7 @@ static const struct menu_command_t menu_commands[] = { { .shortcut = 'd', .name = "date", - .command_description = "show date and time", + .command_description = "show/set date and time", .argument = MENU_ARGUMENT_STRING, .argument_description = "[YYYY-MM-DD HH:MM:SS]", .command_handler = &command_datetime, @@ -373,7 +373,7 @@ void main(void) action = true; // action has been performed printf("button pressed\n"); led_toggle(); // toggle LED - for (uint32_t i=0; i<1000000; i++) { // wait a bit to remove noise and double trigger + for (uint32_t i = 0; i < 1000000; i++) { // wait a bit to remove noise and double trigger __asm__("nop"); } button_flag = false; // reset flag