mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
fixed buzzer on rev5 boards;
added experimental gyro-based headfree boxes git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@429 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
800ce6bdf7
commit
3bb1063001
6 changed files with 3142 additions and 3096 deletions
2
src/mw.c
2
src/mw.c
|
@ -687,7 +687,7 @@ void loop(void)
|
|||
#endif
|
||||
|
||||
#ifdef MAG
|
||||
if (sensors(SENSOR_MAG)) {
|
||||
if (sensors(SENSOR_ACC) || sensors(SENSOR_MAG)) {
|
||||
if (rcOptions[BOXMAG]) {
|
||||
if (!f.MAG_MODE) {
|
||||
f.MAG_MODE = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue