Skip to content
Snippets Groups Projects
Commit 00cabc63 authored by Jason Short's avatar Jason Short
Browse files

Channel rage fix - low output was always 0 vs _low

parent bafb4789
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ RC_Channel::pwm_to_range()
if(radio_in > radio_trim_low)
return (_low + ((long)(_high - _low) * (long)(radio_in - radio_trim_low)) / (long)(radio_max - radio_trim_low));
else
return 0;
return _low;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment