mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Update rx.c
This commit is contained in:
parent
862169807f
commit
38308020a1
1 changed files with 2 additions and 9 deletions
|
@ -388,13 +388,6 @@ void updateRSSIPWM(void)
|
|||
|
||||
// RSSI_Invert option
|
||||
if (rxConfig->rssi_ppm_invert) {
|
||||
if (pwmRssi < 1000) {
|
||||
pwmRssi = 1000;
|
||||
}
|
||||
if (pwmRssi > 2000) {
|
||||
pwmRssi = 2000;
|
||||
}
|
||||
|
||||
pwmRssi = ((2000 - pwmRssi) + 1000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue