diff options
Diffstat (limited to 'project/Core/Src/Project/remote_control.c')
| -rw-r--r-- | project/Core/Src/Project/remote_control.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/project/Core/Src/Project/remote_control.c b/project/Core/Src/Project/remote_control.c index c549eb1..68d3f21 100644 --- a/project/Core/Src/Project/remote_control.c +++ b/project/Core/Src/Project/remote_control.c @@ -18,6 +18,8 @@ static char buffer[80]; static char* cur = buffer; +void parse_input(char buffer[]); + /** * Initialize remote control mode (does not enable it) */ @@ -39,6 +41,10 @@ void remote_control_loop() { } } +/** + * Parses the input string and calls the correct command + * @param buffer a null terminated string of the input + */ void parse_input(char buffer[]) { if (!strcmp(buffer, "HELP")) { player_help(); |
