Skip to content

Commit

Permalink
Fixed a compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Jul 1, 2023
1 parent f40635d commit f85ba89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void GetBlock(uint32_t startingOffset, uint32_t& fileSize)
delay(25); // flash the LED briefly to indicate we are requesting a new flash block
WriteLed(CanLedNumber, false);

CanMessageBuffer buf(nullptr);
CanMessageBuffer buf;
RequestFirmwareBlock(startingOffset, FlashBlockWriteSize, buf); // ask for 16K or 64K from the starting offset

uint32_t whenStartedWaiting = millis();
Expand Down

0 comments on commit f85ba89

Please sign in to comment.