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

Cleaned up the scheduler.

This commit is contained in:
mikeller 2020-03-15 13:28:30 +13:00
parent b729c3cc99
commit db4bd1f186
20 changed files with 326 additions and 392 deletions

View file

@ -154,10 +154,10 @@ static bool portIsShared = false;
static bool openSerial_called = false;
static bool telemetryDetermineEnabledState_stub_retval;
void rescheduleTask(cfTaskId_e taskId, uint32_t newPeriodMicros)
void rescheduleTask(taskId_e taskId, timeDelta_t newPeriodUs)
{
EXPECT_EQ(TASK_TELEMETRY, taskId);
EXPECT_EQ(1000, newPeriodMicros);
EXPECT_EQ(1000, newPeriodUs);
}