Added Setup menu with baudrate selection.

Added Altitude in Navigation screen.
Updated to latest Mavlink library.
This commit is contained in:
pienk@planet.nl
2013-08-20 21:21:13 +00:00
parent d2322c738d
commit 20af6b2c0e
129 changed files with 2169 additions and 403 deletions
+8
View File
@@ -24,6 +24,7 @@ typedef enum serial_tx_state_ {
} serial_tx_state_t;
extern serial_tx_state_t serialTxState;
//! \brief Baudrate selection.
enum SERIAL_BAUDS {
BAUD_4800 = 0,
BAUD_9600,
@@ -35,6 +36,13 @@ enum SERIAL_BAUDS {
BAUD_115200
};
//! \brief Definition of baudrate settings item choices.
#define LEN_MAVLINK_BAUDS "\006"
#define TR_MAVLINK_BAUDS "4800 ""9600 ""14400 ""19200 ""38400 ""57600 ""76800 ""115200"
const pm_char STR_MAVLINK_BAUDS[] PROGMEM = LEN_MAVLINK_BAUDS TR_MAVLINK_BAUDS;
#define TR_MAVLINK_BAUD_LABEL "Baudrate"
const pm_char STR_MAVLINK_BAUD_LABEL[] PROGMEM = TR_MAVLINK_BAUD_LABEL;
typedef void (*SerialFuncP)(uint8_t event);
extern SerialFuncP RXHandler;