fix: timer throttle conditions on surface radio (#4502)
This commit is contained in:
@@ -75,6 +75,11 @@ void saveTimers()
|
||||
|
||||
void evalTimers(int16_t throttle, uint8_t tick10ms)
|
||||
{
|
||||
|
||||
#if defined(SURFACE_RADIO)
|
||||
// For surface radio throttle off position is at 0%
|
||||
throttle = 2 * abs(throttle - (RESX >> (RESX_SHIFT-6)));
|
||||
#endif
|
||||
for (uint8_t i=0; i<TIMERS; i++) {
|
||||
tmrmode_t timerMode = g_model.timers[i].mode;
|
||||
tmrstart_t timerStart = g_model.timers[i].start;
|
||||
|
||||
Reference in New Issue
Block a user