building binary for softserial and GPS changes;
enum warning fix in sbus.c
This commit is contained in:
parent
be93548598
commit
c0882fd863
7228
obj/baseflight.hex
7228
obj/baseflight.hex
File diff suppressed because it is too large
Load Diff
|
@ -22,7 +22,7 @@ void sbusInit(rcReadRawDataPtr *callback)
|
|||
int b;
|
||||
for (b = 0; b < SBUS_MAX_CHANNEL; b ++)
|
||||
sbusChannelData[b] = 2 * (mcfg.midrc - SBUS_OFFSET);
|
||||
core.rcvrport = uartOpen(USART2, sbusDataReceive, 100000, MODE_RX | MODE_SBUS);
|
||||
core.rcvrport = uartOpen(USART2, sbusDataReceive, 100000, (portMode_t)(MODE_RX | MODE_SBUS));
|
||||
if (callback)
|
||||
*callback = sbusReadRawRC;
|
||||
core.numRCChannels = SBUS_MAX_CHANNEL;
|
||||
|
|
Loading…
Reference in New Issue