application (minor): fix string and spacing
This commit is contained in:
parent
99a039c3c8
commit
18a237d726
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue