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;
|
||||
|
||||
stopPulses();
|
||||
#if !defined(COLORLCD)
|
||||
menuLevel = 0;
|
||||
#endif
|
||||
|
||||
simu_start_mode = (tests ? 0 : OPENTX_START_NO_SPLASH | OPENTX_START_NO_CALIBRATION | OPENTX_START_NO_CHECKS);
|
||||
simu_shutdown = false;
|
||||
|
||||
@@ -163,7 +163,9 @@ int main(int argc, char **argv)
|
||||
#if defined(EEPROM_SIZE)
|
||||
eeprom = (uint8_t *)malloc(EEPROM_SIZE);
|
||||
#endif
|
||||
#if !defined(COLORLCD)
|
||||
menuLevel = 0;
|
||||
#endif
|
||||
InitGoogleTest(&argc, argv);
|
||||
|
||||
// use --verbose option to revert to gtest's default output format
|
||||
|
||||
Reference in New Issue
Block a user