Fix minor compilation issues
This commit is contained in:
committed by
Raphael Coeffic
parent
bcdafb1b42
commit
273ab9bfee
@@ -186,7 +186,9 @@ void simuStart(bool tests, const char * sdPath, const char * settingsPath)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
stopPulses();
|
stopPulses();
|
||||||
|
#if !defined(COLORLCD)
|
||||||
menuLevel = 0;
|
menuLevel = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
simu_start_mode = (tests ? 0 : OPENTX_START_NO_SPLASH | OPENTX_START_NO_CALIBRATION | OPENTX_START_NO_CHECKS);
|
simu_start_mode = (tests ? 0 : OPENTX_START_NO_SPLASH | OPENTX_START_NO_CALIBRATION | OPENTX_START_NO_CHECKS);
|
||||||
simu_shutdown = false;
|
simu_shutdown = false;
|
||||||
|
|||||||
@@ -163,7 +163,9 @@ int main(int argc, char **argv)
|
|||||||
#if defined(EEPROM_SIZE)
|
#if defined(EEPROM_SIZE)
|
||||||
eeprom = (uint8_t *)malloc(EEPROM_SIZE);
|
eeprom = (uint8_t *)malloc(EEPROM_SIZE);
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(COLORLCD)
|
||||||
menuLevel = 0;
|
menuLevel = 0;
|
||||||
|
#endif
|
||||||
InitGoogleTest(&argc, argv);
|
InitGoogleTest(&argc, argv);
|
||||||
|
|
||||||
// use --verbose option to revert to gtest's default output format
|
// use --verbose option to revert to gtest's default output format
|
||||||
|
|||||||
Reference in New Issue
Block a user