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:
parent
a335499a39
commit
6e1aa3f9b8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue