mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Merge branch 'refactoredBeeperCode_181_1' of
git://github.com/ethomas997/cleanflight into ethomas997-refactoredBeeperCode_181_1 Conflicts: src/main/flight/failsafe.c src/main/io/beeper.c src/main/mw.c
This commit is contained in:
commit
519586a5ce
15 changed files with 487 additions and 194 deletions
|
@ -95,6 +95,15 @@ int16_t accADC[XYZ_AXIS_COUNT];
|
|||
int16_t gyroADC[XYZ_AXIS_COUNT];
|
||||
|
||||
|
||||
uint16_t enableFlightMode(flightModeFlags_e mask)
|
||||
{
|
||||
return flightModeFlags |= (mask);
|
||||
}
|
||||
|
||||
uint16_t disableFlightMode(flightModeFlags_e mask)
|
||||
{
|
||||
return flightModeFlags &= ~(mask);
|
||||
}
|
||||
|
||||
void gyroUpdate(void) {};
|
||||
bool sensors(uint32_t mask)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue