Skip to content

Commit

Permalink
Debug serial port: go back to default mode after entering a "$xxx" co…
Browse files Browse the repository at this point in the history
…mmand
  • Loading branch information
benjaminaigner committed Jan 25, 2022
1 parent 1e683b7 commit 0ef011c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/ble_hidd_demo_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,7 @@ void uart_console_task(void *pvParameters)
if(hid_or_command == 1)
{
uart_parse_command(character,&commands);
if(commands.state == CMDSTATE_IDLE) hid_or_command = 0;
continue;
}

Expand Down

0 comments on commit 0ef011c

Please sign in to comment.