1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-28 06:24:10 +01:00

LP-609 uncrustify only

This commit is contained in:
Eric Price 2022-06-16 18:34:53 +02:00
parent fac1956da4
commit 97c3ddd014

View File

@ -231,7 +231,7 @@ void FlightLogManager::retrieveLogs(int flightToRetrieve)
memset(&fields, 0xFF, total_len);
ExtendedDebugLogEntry::DataFields tmp = logEntry->getData();
memcpy(&fields, &tmp.Data[start], header_len);
// check wether a packed object is found
// note that empty data blocks are set as 0xFF in flight side to minimize flash wearing
// thus as soon as this read outside of used area, the test will fail as lenght would be 0xFFFF