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:
parent
b729c3cc99
commit
db4bd1f186
20 changed files with 326 additions and 392 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue