mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-01 11:04:14 -06:00
spi_flash: fix spi bus switch (#6906)
Fixes abc76ee963
.
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
parent
f2b27d17b7
commit
bfda326c24
1 changed files with 0 additions and 1 deletions
|
@ -1313,7 +1313,6 @@ class MCUConnection:
|
|||
]
|
||||
cfg_cmds.append(self._try_send_command(spi_cfg_cmds))
|
||||
cfg_cmds.append(self._try_send_command(bus_cmds))
|
||||
self._try_send_command(cfg_cmds)
|
||||
config_crc = zlib.crc32('\n'.join(cfg_cmds).encode()) & 0xffffffff
|
||||
self._serial.send(FINALIZE_CFG_CMD % (config_crc,))
|
||||
config = self.get_mcu_config()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue