Common: add location alt max definition

This commit is contained in:
Randy Mackay 2015-10-19 16:12:59 +09:00
parent a0932d1d0b
commit d1d778652b

View File

@ -70,6 +70,8 @@
#define ToRad(x) radians(x) // *pi/180
#define ToDeg(x) degrees(x) // *180/pi
#define LOCATION_ALT_MAX_M 83000 // maximum altitude (in meters) that can be fit into Location structure's alt field
/*
check if bit bitnumber is set in value, returned as a
bool. Bitnumber starts at 0 for the first bit