mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
LP-593 Set firmware Crc at init
This commit is contained in:
parent
877177ab51
commit
4c83f0a844
@ -104,7 +104,7 @@ int32_t FirmwareIAPInitialize()
|
||||
}
|
||||
data.BootloaderRevision = bdinfo->bl_rev;
|
||||
data.ArmReset = 0;
|
||||
data.crc = 0;
|
||||
data.crc = PIOS_BL_HELPER_CRC_Memory_Calc();
|
||||
FirmwareIAPObjSet(&data);
|
||||
if (bdinfo->magic == PIOS_BOARD_INFO_BLOB_MAGIC) {
|
||||
FirmwareIAPObjConnectCallback(&FirmwareIAPCallback);
|
||||
|
Loading…
Reference in New Issue
Block a user