Skip to content

Commit

Permalink
Merge pull request #10250 from iNavFlight/mmosca-sbus2-telemetry
Browse files Browse the repository at this point in the history
Lower sbus2 telemetry task priority
  • Loading branch information
mmosca authored Jul 21, 2024
2 parents d9f6db1 + 734050e commit 88d746b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/fc/fc_tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,10 +733,10 @@ cfTask_t cfTasks[TASK_COUNT] = {

#if defined(USE_TELEMETRY) && defined(USE_TELEMETRY_SBUS2)
[TASK_TELEMETRY_SBUS2] = {
.taskName = "SBUS2_TELEMETRY",
.taskName = "SBUS2 TLM",
.taskFunc = taskSendSbus2Telemetry,
.desiredPeriod = TASK_PERIOD_US(125), // 8kHz 2ms dead time + 650us window / sensor.
.staticPriority = TASK_PRIORITY_REALTIME, // timing is critical. Ideally, should be a timer interrupt triggered by sbus packet
.staticPriority = TASK_PRIORITY_LOW, // timing is critical. Ideally, should be a timer interrupt triggered by sbus packet
},
#endif

Expand Down

0 comments on commit 88d746b

Please sign in to comment.