1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Don't send GCSReceiver when using OPLink receiver (on Revo).

This commit is contained in:
Brian Webb 2013-04-06 17:56:57 +01:00
parent ee96890b96
commit 95c150213a

View File

@ -1859,6 +1859,7 @@ static enum pios_rfm22b_event rfm22_rxData(struct pios_rfm22b_dev *rfm22b_dev)
#endif #endif
#endif #endif
#if defined(PIOS_INCLUDE_RFM22B_RCVR) #if defined(PIOS_INCLUDE_RFM22B_RCVR)
ppm_output = true;
for (uint8_t i = 0; i < PIOS_RFM22B_RCVR_MAX_CHANNELS; ++i) { for (uint8_t i = 0; i < PIOS_RFM22B_RCVR_MAX_CHANNELS; ++i) {
rfm22b_dev->ppm_channel[i] = ppmp->channels[i]; rfm22b_dev->ppm_channel[i] = ppmp->channels[i];
} }