bootloader (#3364)

This commit is contained in:
Matthew Kennedy 2021-10-18 17:26:00 -07:00 committed by GitHub
parent e4c34e016a
commit 428e367af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {