From e7342e74028d6954150b79d1e2216297aad7487a Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 5 Jul 2018 11:37:04 +0200 Subject: [PATCH] chg: 'sc upgr' shouldnt print too much --- armsrc/appmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 605b27450..2d78f530d 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -1056,7 +1056,7 @@ void UsbPacketReceived(uint8_t *packet, int len) { Dbprintf("FW %02X %02X", msb, lsb); bool isok = I2C_ReadFW(resp, msb, lsb, I2C_DEVICE_ADDRESS_BOOT); if (isok) - Dbhexdump(len, resp, false); + Dbhexdump(sizeof(resp), resp, false); length -= 64; pos += 64;