Horus internal GPS: settable baudrate, misc fixes, new cmake options,… (#3736)

* Horus internal GPS: settable baudrate, misc fixes, new cmake options, cosmetics, cli

* Horus internal GPS: cmake changes, more CLI options, ability to send commands to the module

* Compilation fixes
This commit is contained in:
Bertrand Songis
2016-08-31 06:48:28 +02:00
committed by GitHub
11 changed files with 152 additions and 31 deletions
+5 -6
View File
@@ -399,13 +399,12 @@ void hapticOff(void);
void hapticOn(uint32_t pwmPercent);
// GPS driver
#if PCBREV >= 13
#define INTERNAL_GPS 1
#else
#define INTERNAL_GPS 0
#endif
void gpsInit(void);
void gpsInit(uint32_t baudrate);
uint8_t gpsGetByte(uint8_t * byte);
#if defined(DEBUG)
extern uint8_t gpsTraceEnabled;
void gpsSendByte(uint8_t byte);
#endif
// Second serial port driver
#define SERIAL2