1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-18 13:55:16 +03:00

fix ltm compilation without GPS

This commit is contained in:
Jonathan Hudson 2015-12-14 20:36:53 +00:00
parent a335499a39
commit 6e1aa3f9b8

View file

@ -129,6 +129,7 @@ static void ltm_finalise(void)
*/
static void ltm_gframe(void)
{
#if defined (GPS)
uint8_t gps_fix_type = 0;
int32_t ltm_alt;
@ -155,6 +156,7 @@ static void ltm_gframe(void)
ltm_serialise_32(ltm_alt);
ltm_serialise_8((GPS_numSat << 2) | gps_fix_type);
ltm_finalise();
#endif
}
/*