0,0 → 1,24 |
//############################################################################ |
// Implement your own RC-decoding routines here |
//############################################################################ |
|
#include "sbus.h" |
|
//############################################################################ |
// Initialize the UART here |
//############################################################################ |
void User_Receiver_Init(void) |
{ |
SbusUartInit(); |
}; |
|
|
//############################################################################ |
// Is called by the uart RX interrupt |
// UDR contains the received byte |
//############################################################################ |
void User_RX_Parser(unsigned char udr) |
{ |
SbusParser(udr); |
}; |
|