1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

Fix compilation is OSD is disabled

This commit is contained in:
Pawel Spychalski (DzikuVx) 2023-03-06 21:16:44 +01:00
parent 085b6ce97a
commit 7e6f1040da
5 changed files with 14 additions and 5 deletions

View file

@ -340,7 +340,9 @@ void processSaveConfigAndNotify(void)
writeEEPROM();
readEEPROM();
beeperConfirmationBeeps(1);
#ifdef USE_OSD
osdShowEEPROMSavedNotification();
#endif
}
void writeEEPROM(void)
@ -370,7 +372,9 @@ void ensureEEPROMContainsValidData(void)
*/
void saveConfigAndNotify(void)
{
#ifdef USE_OSD
osdStartedSaveProcess();
#endif
saveState = SAVESTATE_SAVEANDNOTIFY;
}