building binary for softserial and GPS changes;

enum warning fix in sbus.c
This commit is contained in:
dongie 2014-04-06 06:44:35 +09:00
parent be93548598
commit c0882fd863
2 changed files with 3632 additions and 3598 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;