aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Schuh <jschuh@users.noreply.github.com>2021-11-07 14:26:33 -0800
committerKevinOConnor <kevin@koconnor.net>2021-11-08 20:07:38 -0500
commit76bfc3237a196b21355abf1833b5c486f0b70f8a (patch)
tree91c5822e1124d0b762fa822a04284bb5aa7bf30e
parentd4aee4f55e0203aa7cf2877227a574a1b1458a2e (diff)
downloadkutter-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>
-rw-r--r--scripts/spi_flash/spi_flash.py2
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"