mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1474 Fixed code asserting in debug.
This commit is contained in:
parent
602bfd3e4c
commit
508112d5a3
@ -73,7 +73,7 @@ GUIConfigDataUnion VehicleConfig::getConfigData()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// sanity check
|
// sanity check
|
||||||
// Q_ASSERT(SystemSettings::GUICONFIGDATA_NUMELEM == (sizeof(configData.UAVObject) / sizeof(configData.UAVObject[0])));
|
Q_ASSERT(SystemSettings::GUICONFIGDATA_NUMELEM == (sizeof(configData.UAVObject) / sizeof(configData.UAVObject[0])));
|
||||||
|
|
||||||
return configData;
|
return configData;
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ typedef struct {
|
|||||||
|
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
uint UAVObject[5]; // 32 bits * 5
|
uint UAVObject[4]; // 32 bits * 4
|
||||||
heliGUISettingsStruct heli; // 128 bits
|
heliGUISettingsStruct heli; // 128 bits
|
||||||
fixedGUISettingsStruct fixedwing;
|
fixedGUISettingsStruct fixedwing;
|
||||||
multiGUISettingsStruct multi;
|
multiGUISettingsStruct multi;
|
||||||
|
Loading…
Reference in New Issue
Block a user