mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fixup after rebase
This commit is contained in:
parent
0ccb7040f0
commit
3f5393e201
2 changed files with 9 additions and 201 deletions
|
@ -247,8 +247,14 @@ void taskUpdateAttitude(uint32_t currentTime)
|
|||
void taskHandleSerial(uint32_t currentTime)
|
||||
{
|
||||
UNUSED(currentTime);
|
||||
|
||||
handleSerial();
|
||||
#ifdef USE_CLI
|
||||
// in cli mode, all serial stuff goes to here. enter cli mode by sending #
|
||||
if (cliMode) {
|
||||
cliProcess();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
mspSerialProcess();
|
||||
}
|
||||
|
||||
void taskUpdateBeeper(uint32_t currentTime)
|
||||
|
@ -424,7 +430,7 @@ void taskUpdateOsd(uint32_t currentTime)
|
|||
void fcTasksInit(void)
|
||||
{
|
||||
schedulerInit();
|
||||
rescheduleTask(TASK_GYROPID, gyro.targetLooptime + LOOPTIME_SUSPEND_TIME); // Add a littlebit of extra time to reduce busy wait
|
||||
rescheduleTask(TASK_GYROPID, gyro.targetLooptime);
|
||||
setTaskEnabled(TASK_GYROPID, true);
|
||||
|
||||
if (sensors(SENSOR_ACC)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue