mirror of https://github.com/Desuuuu/klipper.git
mcu: Make a minor change to the protocol to require mcu update
Commit9ecddd1b
fixed a serious error (introduced in7d95a004
). Force a protocol version change so users are aware of the need to update the mcu code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9ecddd1ba4
commit
d4aee4f55e
|
@ -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()
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue