Fix: In commit 8cbafaa cmd_tokenize() has changed. Missed that it also used

outside cmd_parser.c.
Fix the other location and headerfile.
This commit is contained in:
René van Dorst
2026-04-21 21:17:22 +02:00
parent 016061d8db
commit d2e79d4d80
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -26,6 +26,7 @@
extern __code const struct machine machine;
extern __xdata uint32_t flash_size;
extern __xdata uint8_t err_status;
extern __xdata uint16_t crc_value;
__xdata struct machine_runtime machine_detected;
@@ -1307,7 +1308,8 @@ void idle(void)
// Check whether a command is waiting in the cmd_buffer and execute
if (cmd_available) {
cmd_available = 0;
if (!cmd_tokenize())
cmd_tokenize();
if (err_status == ERR_OK)
cmd_parser();
print_string("\n> ");
}