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