1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Allow excluding of servo code at compilation time.

This is in preparation for backbox on CJMCU/64k.

Flight tested on CJMCU.
This commit is contained in:
Dominic Clifton 2015-02-22 16:20:04 +00:00
parent 5a15c3b271
commit 9057d70410
26 changed files with 131 additions and 48 deletions

View file

@ -749,8 +749,10 @@ static void loadBlackboxState(void)
blackboxCurrent->BaroAlt = BaroAlt;
#endif
#ifdef USE_SERVOS
//Tail servo for tricopters
blackboxCurrent->servo[5] = servo[5];
#endif
}
/**