From 428e367af59ce39f15e4316c5a249307f18d8c32 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 18 Oct 2021 17:26:00 -0700 Subject: [PATCH] bootloader (#3364) --- firmware/bootloader/src/dfu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/bootloader/src/dfu.cpp b/firmware/bootloader/src/dfu.cpp index 280a2b01ee..630a7730d3 100644 --- a/firmware/bootloader/src/dfu.cpp +++ b/firmware/bootloader/src/dfu.cpp @@ -29,7 +29,7 @@ static bool getByte(uint8_t *b) { } static void sendByte(uint8_t b) { - blTsChannel.write(&b, 1); + blTsChannel.write(&b, 1, true); } static uint8_t dfuCalcChecksum(const uint8_t *buf, uint8_t size) { @@ -171,7 +171,7 @@ static void dfuHandleRead(void) { intFlashRead(addr, (char *)buffer, numBytes); // transmit data - blTsChannel.write(buffer, numBytes); + blTsChannel.write(buffer, numBytes, true); } static void dfuHandleWrite(void) {