1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Tidy use of USE_OSD_SLAVE

This commit is contained in:
Martin Budden 2017-09-25 07:04:13 +01:00
parent 6e025aeba6
commit a983f4b325
9 changed files with 166 additions and 219 deletions

View file

@ -532,7 +532,7 @@ void init(void)
imuInit();
mspFcInit();
mspInit();
mspSerialInit();
#ifdef USE_CLI
@ -724,11 +724,7 @@ void init(void)
setArmingDisabled(ARMING_DISABLED_BOOT_GRACE_TIME);
#ifdef USE_OSD_SLAVE
osdSlaveTasksInit();
#else
fcTasksInit();
#endif
systemState |= SYSTEM_STATE_READY;
}