1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 17:55:28 +03:00

Minor cleanup

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2018-04-26 19:34:37 +10:00
parent e6866b83a8
commit 0ddfebf9a3

View file

@ -73,10 +73,9 @@ uint8_t sbusChannelsDecode(rxRuntimeConfig_t *rxRuntimeConfig, const sbusChannel
// RX *should* still be sending valid channel data, so use it. // RX *should* still be sending valid channel data, so use it.
return RX_FRAME_COMPLETE | RX_FRAME_FAILSAFE; return RX_FRAME_COMPLETE | RX_FRAME_FAILSAFE;
} }
else {
return RX_FRAME_COMPLETE; return RX_FRAME_COMPLETE;
} }
}
static uint16_t sbusChannelsReadRawRC(const rxRuntimeConfig_t *rxRuntimeConfig, uint8_t chan) static uint16_t sbusChannelsReadRawRC(const rxRuntimeConfig_t *rxRuntimeConfig, uint8_t chan)
{ {