Merge pull request #371 from nebbian/Bugfix_Failsafe-doesnt-use-mapping

Bugfix for failsafe ignoring RX signal mapping
This commit is contained in:
Dominic Clifton 2015-01-17 20:33:13 +01:00
commit 7876530b0f
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ void processRxChannels(void)
uint16_t sample = rcReadRawFunc(&rxRuntimeConfig, rawChannel);
if (feature(FEATURE_FAILSAFE) && shouldCheckPulse) {
failsafe->vTable->checkPulse(rawChannel, sample);
failsafe->vTable->checkPulse(chan, sample);
}
// validate the range