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

Discussion: Move time-critical code from fc_core.c to fc_tasks.c

Change fc_core.c to be size-optimized to reduce overall firmware size. Saves 3288 bytes on OMNIBUS as an example.
This commit is contained in:
Bruce Luckcuck 2018-01-29 12:33:15 -05:00
parent dbf0883470
commit 4712b0aca1
5 changed files with 166 additions and 157 deletions

View file

@ -46,5 +46,8 @@ bool processRx(timeUs_t currentTimeUs);
void updateArmingStatus(void);
void updateRcCommands(void);
void taskMainPidLoop(timeUs_t currentTimeUs);
bool isFlipOverAfterCrashMode(void);
#if defined(USE_GPS) || defined(USE_MAG)
void updateMagHold(void);
#endif