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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user