0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-03-16 18:37:45 +01:00
parent a678a32f92
commit e8c213678f

View File

@@ -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) {
char *cmd, *arg, *output;
memset(output, 0, 255);
char *cmd, *arg;
char output[255];
memset(output, 0, sizeof(output));
uint16_t cmd_len = _strnlen((const char*)str, CTL_BUFFER_SIZE);