Fix minor compilation issues

This commit is contained in:
Raphael Coeffic
2021-05-24 16:23:06 +02:00
committed by Raphael Coeffic
parent bcdafb1b42
commit 273ab9bfee
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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;
+2
View File
@@ -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