1
0
Fork 0
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:
Bas Delfos 2016-11-24 20:49:23 +01:00
parent 036c7d0c89
commit 7e26afddf1
2 changed files with 6 additions and 4 deletions

View file

@ -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;
}
}