Prepared for baud rate variable in g_eeGeneral

Added detection for ArduPlane and ArduCopter versions.
Created different flight mode decoders for plane and copter.
This commit is contained in:
pienk@planet.nl
2013-08-17 15:33:44 +00:00
parent 8c4610ede7
commit d2322c738d
5 changed files with 233 additions and 70 deletions
+10
View File
@@ -24,6 +24,16 @@ typedef enum serial_tx_state_ {
} serial_tx_state_t;
extern serial_tx_state_t serialTxState;
enum SERIAL_BAUDS {
BAUD_4800 = 0,
BAUD_9600,
BAUD_14400,
BAUD_19200,
BAUD_38400,
BAUD_57600,
BAUD_76800,
BAUD_115200
};
typedef void (*SerialFuncP)(uint8_t event);