diff --git a/klippy/mcu.py b/klippy/mcu.py index 9bc5b2c7..751e55ef 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -684,7 +684,7 @@ class MCU: def _send_get_config(self): get_config_cmd = self.lookup_query_command( "get_config", - "config is_config=%c crc=%u move_count=%hu is_shutdown=%c") + "config is_config=%c crc=%u is_shutdown=%c move_count=%hu") if self.is_fileoutput(): return { 'is_config': 0, 'move_count': 500, 'crc': 0 } config_params = get_config_cmd.send() diff --git a/src/basecmd.c b/src/basecmd.c index 0cf8afec..6d26884d 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -244,8 +244,8 @@ static uint32_t config_crc; void command_get_config(uint32_t *args) { - sendf("config is_config=%c crc=%u move_count=%hu is_shutdown=%c" - , is_finalized(), config_crc, move_count, sched_is_shutdown()); + sendf("config is_config=%c crc=%u is_shutdown=%c move_count=%hu" + , is_finalized(), config_crc, sched_is_shutdown(), move_count); } DECL_COMMAND_FLAGS(command_get_config, HF_IN_SHUTDOWN, "get_config");