mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
lol
This commit is contained in:
@@ -426,8 +426,9 @@ static bool process_command_table(const command_handler_t *table, int table_size
|
|||||||
}
|
}
|
||||||
|
|
||||||
void process_ascii_cmd(RDSModulator* mod, char *str) {
|
void process_ascii_cmd(RDSModulator* mod, char *str) {
|
||||||
char *cmd, *arg, *output;
|
char *cmd, *arg;
|
||||||
memset(output, 0, 255);
|
char output[255];
|
||||||
|
memset(output, 0, sizeof(output));
|
||||||
|
|
||||||
uint16_t cmd_len = _strnlen((const char*)str, CTL_BUFFER_SIZE);
|
uint16_t cmd_len = _strnlen((const char*)str, CTL_BUFFER_SIZE);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user