mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-01 03:39:18 +00:00
Added OLC and OS grid ref protobufs
This commit is contained in:
parent
030d09740c
commit
72e22b6744
@ -56,6 +56,8 @@ typedef enum _GpsCoordinateFormat {
|
|||||||
GpsCoordinateFormat_GpsFormatDMS = 1,
|
GpsCoordinateFormat_GpsFormatDMS = 1,
|
||||||
GpsCoordinateFormat_GpsFormatUTM = 2,
|
GpsCoordinateFormat_GpsFormatUTM = 2,
|
||||||
GpsCoordinateFormat_GpsFormatMGRS = 3,
|
GpsCoordinateFormat_GpsFormatMGRS = 3,
|
||||||
|
GpsCoordinateFormat_GpsFormatOLC = 4,
|
||||||
|
GpsCoordinateFormat_GpsFormatOSGR = 5
|
||||||
} GpsCoordinateFormat;
|
} GpsCoordinateFormat;
|
||||||
|
|
||||||
typedef enum _LocationSharing {
|
typedef enum _LocationSharing {
|
||||||
@ -148,8 +150,8 @@ typedef struct _RadioConfig {
|
|||||||
#define _GpsOperation_ARRAYSIZE ((GpsOperation)(GpsOperation_GpsOpDisabled+1))
|
#define _GpsOperation_ARRAYSIZE ((GpsOperation)(GpsOperation_GpsOpDisabled+1))
|
||||||
|
|
||||||
#define _GpsCoordinateFormat_MIN GpsCoordinateFormat_GpsFormatDec
|
#define _GpsCoordinateFormat_MIN GpsCoordinateFormat_GpsFormatDec
|
||||||
#define _GpsCoordinateFormat_MAX GpsCoordinateFormat_GpsFormatMGRS
|
#define _GpsCoordinateFormat_MAX GpsCoordinateFormat_GpsFormatOSGR
|
||||||
#define _GpsCoordinateFormat_ARRAYSIZE ((GpsCoordinateFormat)(GpsCoordinateFormat_GpsFormatMGRS+1))
|
#define _GpsCoordinateFormat_ARRAYSIZE ((GpsCoordinateFormat)(GpsCoordinateFormat_GpsFormatOSGR+1))
|
||||||
|
|
||||||
#define _LocationSharing_MIN LocationSharing_LocUnset
|
#define _LocationSharing_MIN LocationSharing_LocUnset
|
||||||
#define _LocationSharing_MAX LocationSharing_LocDisabled
|
#define _LocationSharing_MAX LocationSharing_LocDisabled
|
||||||
|
Loading…
Reference in New Issue
Block a user