Browse Source

building binary for softserial and GPS changes;

enum warning fix in sbus.c
master
dongie 11 years ago
parent
commit
c0882fd863
  1. 7228
      obj/baseflight.hex
  2. 2
      src/sbus.c

7228
obj/baseflight.hex
File diff suppressed because it is too large
View File

2
src/sbus.c

@ -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…
Cancel
Save