From daba1ffcb150e27d70ed46ee08aadc00eba0faa5 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 7 May 2019 11:18:12 +0200 Subject: [PATCH] Missing initialization --- radio/src/bluetooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/bluetooth.cpp b/radio/src/bluetooth.cpp index 9c81e7a69..b23b7441b 100644 --- a/radio/src/bluetooth.cpp +++ b/radio/src/bluetooth.cpp @@ -689,7 +689,7 @@ const char * Bluetooth::doFlashFirmware(const char * filename) const char * result; FIL file; uint8_t buffer[CC26XX_MAX_BYTES_PER_TRANSFER * 4]; - UINT count; + UINT count = 0; // Dummy command bootloaderSendCommand(0);