mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Added guard against repetitive task resetting to hott text mode.
This commit is contained in:
parent
b58e8f827f
commit
abcdb0a90c
1 changed files with 1 additions and 0 deletions
|
@ -483,6 +483,7 @@ static void hottTextmodeStop()
|
||||||
// Set back to avoid slow down of the FC
|
// Set back to avoid slow down of the FC
|
||||||
if (telemetryTaskPeriod > 0) {
|
if (telemetryTaskPeriod > 0) {
|
||||||
rescheduleTask(TASK_TELEMETRY, telemetryTaskPeriod);
|
rescheduleTask(TASK_TELEMETRY, telemetryTaskPeriod);
|
||||||
|
telemetryTaskPeriod = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rxSchedule = HOTT_RX_SCHEDULE;
|
rxSchedule = HOTT_RX_SCHEDULE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue