Skip to content

Commit

Permalink
DroneCAN: fill in the right bootloader version in defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and AlkaMotors committed Dec 7, 2024
1 parent f029819 commit abb7edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootloader/DroneCAN/DroneCAN.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static uint32_t millis32(void)
default settings, based on public/assets/eeprom_default.bin in AM32 configurator
*/
static const uint8_t default_settings[] = {
0x01, 0x02, 0x01, 0x01, 0x23, 0x4e, 0x45, 0x4f, 0x45, 0x53, 0x43, 0x20, 0x66, 0x30, 0x35, 0x31,
0x01, 0x02, BOOTLOADER_VERSION, 0x01, 0x23, 0x4e, 0x45, 0x4f, 0x45, 0x53, 0x43, 0x20, 0x66, 0x30, 0x35, 0x31,
0x20, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x02, 0x18, 0x64, 0x37, 0x0e, 0x00, 0x00, 0x05, 0x00,
0x80, 0x80, 0x80, 0x32, 0x00, 0x32, 0x00, 0x00, 0x0f, 0x0a, 0x0a, 0x8d, 0x66, 0x06, 0x00, 0x00
};
Expand Down

0 comments on commit abb7edd

Please sign in to comment.