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:
parent
085b6ce97a
commit
7e6f1040da
5 changed files with 14 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue