Remove MENUS_LOCK

This commit is contained in:
Raphael Coeffic
2021-12-09 09:11:00 +01:00
parent 54e7caf07e
commit 998af78f19
9 changed files with 5 additions and 68 deletions
+3 -9
View File
@@ -621,15 +621,9 @@ void flightReset(uint8_t check=true);
void doSplash();
#endif
#if MENUS_LOCK == 1
extern bool readonly;
extern bool readonlyUnlocked();
#define READ_ONLY() readonly
#define READ_ONLY_UNLOCKED() readonlyUnlocked()
#else
#define READ_ONLY() false
#define READ_ONLY_UNLOCKED() true
#endif
// disabled function (not used anywhere)
#define READ_ONLY() false
#define READ_ONLY_UNLOCKED() true
void checkLowEEPROM();
void checkThrottleStick();