diff options
author | Justin Schuh <jschuh@users.noreply.github.com> | 2021-11-07 14:26:33 -0800 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-11-08 20:07:38 -0500 |
commit | 76bfc3237a196b21355abf1833b5c486f0b70f8a (patch) | |
tree | 91c5822e1124d0b762fa822a04284bb5aa7bf30e /scripts/spi_flash/spi_flash.py | |
parent | d4aee4f55e0203aa7cf2877227a574a1b1458a2e (diff) | |
download | kutter-76bfc3237a196b21355abf1833b5c486f0b70f8a.tar.gz kutter-76bfc3237a196b21355abf1833b5c486f0b70f8a.tar.xz kutter-76bfc3237a196b21355abf1833b5c486f0b70f8a.zip |
spi_flash: Fix MCU handshake protocol
Update config response string to match new version from d4aee4f.
Signed-off-by: Justin Schuh <code@justinschuh.com>
Diffstat (limited to 'scripts/spi_flash/spi_flash.py')
-rw-r--r-- | scripts/spi_flash/spi_flash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spi_flash/spi_flash.py b/scripts/spi_flash/spi_flash.py index 617c2d4f..0c893ed2 100644 --- a/scripts/spi_flash/spi_flash.py +++ b/scripts/spi_flash/spi_flash.py @@ -99,7 +99,7 @@ SD_SPI_SPEED = 4000000 # MCU Command Constants RESET_CMD = "reset" GET_CFG_CMD = "get_config" -GET_CFG_RESPONSE = "config is_config=%c crc=%u move_count=%hu is_shutdown=%c" +GET_CFG_RESPONSE = "config is_config=%c crc=%u is_shutdown=%c move_count=%hu" ALLOC_OIDS_CMD = "allocate_oids count=%d" SPI_CFG_CMD = "config_spi oid=%d pin=%s" SPI_BUS_CMD = "spi_set_bus oid=%d spi_bus=%s mode=%d rate=%d" |