Merge pull request #371 from nebbian/Bugfix_Failsafe-doesnt-use-mapping
Bugfix for failsafe ignoring RX signal mapping
This commit is contained in:
commit
7876530b0f
|
@ -289,7 +289,7 @@ void processRxChannels(void)
|
||||||
uint16_t sample = rcReadRawFunc(&rxRuntimeConfig, rawChannel);
|
uint16_t sample = rcReadRawFunc(&rxRuntimeConfig, rawChannel);
|
||||||
|
|
||||||
if (feature(FEATURE_FAILSAFE) && shouldCheckPulse) {
|
if (feature(FEATURE_FAILSAFE) && shouldCheckPulse) {
|
||||||
failsafe->vTable->checkPulse(rawChannel, sample);
|
failsafe->vTable->checkPulse(chan, sample);
|
||||||
}
|
}
|
||||||
|
|
||||||
// validate the range
|
// validate the range
|
||||||
|
|
Loading…
Reference in New Issue