1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Removed profile storage code from writeEEProm() to remove the boolean

flag from the method signature.  Now it is clear when the current
profile needs to be stored.
This commit is contained in:
Dominic Clifton 2014-04-21 01:02:53 +01:00
parent e969d184e6
commit 3daaf66b14
7 changed files with 28 additions and 20 deletions

View file

@ -38,6 +38,8 @@ void featureClear(uint32_t mask);
void featureClearAll(void);
uint32_t featureMask(void);
void copyCurrentProfileToProfileSlot(uint8_t profileSlotIndex);
void readEEPROM(void);
void writeEEPROM(uint8_t b, uint8_t updateProfile);
void writeEEPROM(uint8_t b);
void checkFirstTime(bool reset);