mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Remove fallback on ADC sensor when ESC sensor fails
This commit is contained in:
parent
036c7d0c89
commit
7e26afddf1
2 changed files with 6 additions and 4 deletions
|
@ -269,11 +269,10 @@ void escSensorProcess(timeUs_t currentTimeUs)
|
|||
|
||||
if (escTriggerLastTimestamp + 10000 < currentTimeMs) {
|
||||
// ESCs did not respond for 10 seconds
|
||||
// Disable ESC telemetry and fallback to onboard vbat sensor
|
||||
// Disable ESC telemetry and reset voltage and current to let the use know something is wrong
|
||||
freeEscSensorPort();
|
||||
escVbat = 0;
|
||||
escCurrent = 0;
|
||||
escConsumption = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue