sync
This commit is contained in:
@@ -208,6 +208,7 @@ void execute_current_command(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
usb_flush_rx();
|
||||
send_error(rc);
|
||||
}
|
||||
break;
|
||||
@@ -222,6 +223,7 @@ protocol_state_t waiting_for_command(uint8_t byte)
|
||||
{
|
||||
if (byte < 'a' || byte > 'z')
|
||||
{
|
||||
LOG_DBG("Ignoring non-command byte: 0x%02x", byte); // Nur aktivieren, wenn nötig!
|
||||
rx_index = 0;
|
||||
return PS_WAITING_FOR_COMMAND;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user