0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00

init output

This commit is contained in:
2025-03-16 18:37:16 +01:00
parent a29e254a75
commit a678a32f92

View File

@@ -427,6 +427,8 @@ 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, *output;
memset(output, 0, 255);
uint16_t cmd_len = _strnlen((const char*)str, CTL_BUFFER_SIZE); uint16_t cmd_len = _strnlen((const char*)str, CTL_BUFFER_SIZE);
for(uint16_t i = 0; i < cmd_len; i++) { for(uint16_t i = 0; i < cmd_len; i++) {