mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Updating HoTT GPS Altitude code to match spec.
Unit test added.
This commit is contained in:
parent
79a90b09ef
commit
bbfebc5de9
3 changed files with 27 additions and 2 deletions
|
@ -27,6 +27,8 @@
|
|||
#define HOTT_EAM_OFFSET_M3S 120
|
||||
#define HOTT_EAM_OFFSET_TEMPERATURE 20
|
||||
|
||||
#define HOTT_GPS_ALTITUDE_OFFSET 500
|
||||
|
||||
typedef enum {
|
||||
HOTT_EAM_ALARM1_FLAG_NONE = 0,
|
||||
HOTT_EAM_ALARM1_FLAG_MAH = (1 << 0),
|
||||
|
@ -476,4 +478,7 @@ void configureHoTTTelemetryPort(void);
|
|||
void freeHoTTTelemetryPort(void);
|
||||
|
||||
uint32_t getHoTTTelemetryProviderBaudRate(void);
|
||||
|
||||
void hottPrepareGPSResponse(HOTT_GPS_MSG_t *hottGPSMessage);
|
||||
|
||||
#endif /* TELEMETRY_HOTT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue