diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-11-06 22:20:44 -0500 |
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-11-06 22:20:44 -0500 |
| commit | 3598489dc5465ad643031b6d9b2c246d99602982 (patch) | |
| tree | 9dcf65a2a36cc18f050d6489337bdec81676b321 /project/Core/Src/Project/remote_control.c | |
| parent | ff93296322bcff19d9983c3d800bffbd08a35941 (diff) | |
| download | 340-repo-Sowgro-3598489dc5465ad643031b6d9b2c246d99602982.tar.gz 340-repo-Sowgro-3598489dc5465ad643031b6d9b2c246d99602982.tar.bz2 340-repo-Sowgro-3598489dc5465ad643031b6d9b2c246d99602982.zip | |
remove warnings
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(); |
