mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Added profile macros and index functions
This commit is contained in:
parent
051c9cca48
commit
a3ad97b0a4
10 changed files with 123 additions and 132 deletions
|
@ -101,8 +101,6 @@ void setBeeperOffMask(uint32_t mask);
|
|||
uint32_t getPreferredBeeperOffMask(void);
|
||||
void setPreferredBeeperOffMask(uint32_t mask);
|
||||
|
||||
void copyCurrentProfileToProfileSlot(uint8_t profileSlotIndex);
|
||||
|
||||
void initEEPROM(void);
|
||||
void resetEEPROM(void);
|
||||
void readEEPROM(void);
|
||||
|
@ -114,13 +112,14 @@ void validateAndFixConfig(void);
|
|||
void validateAndFixGyroConfig(void);
|
||||
void activateConfig(void);
|
||||
|
||||
uint8_t getCurrentProfile(void);
|
||||
uint8_t getCurrentProfileIndex(void);
|
||||
void changeProfile(uint8_t profileIndex);
|
||||
struct profile_s;
|
||||
void resetProfile(struct profile_s *profile);
|
||||
|
||||
uint8_t getCurrentControlRateProfile(void);
|
||||
uint8_t getCurrentControlRateProfileIndex(void);
|
||||
void changeControlRateProfile(uint8_t profileIndex);
|
||||
|
||||
bool canSoftwareSerialBeUsed(void);
|
||||
|
||||
uint16_t getCurrentMinthrottle(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue