From 76bfc3237a196b21355abf1833b5c486f0b70f8a Mon Sep 17 00:00:00 2001 From: Justin Schuh Date: Sun, 7 Nov 2021 14:26:33 -0800 Subject: [PATCH] spi_flash: Fix MCU handshake protocol Update config response string to match new version from d4aee4f. Signed-off-by: Justin Schuh --- scripts/spi_flash/spi_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"