mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
GPS can now be conditionally compiled in.
This commit is contained in:
parent
b3a718882c
commit
3b629d58a0
19 changed files with 144 additions and 29 deletions
|
@ -15,6 +15,7 @@
|
|||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <ctype.h>
|
||||
|
@ -45,6 +46,8 @@
|
|||
#include "gps_conversion.h"
|
||||
#include "io/gps.h"
|
||||
|
||||
#ifdef GPS
|
||||
|
||||
extern int16_t debug[4];
|
||||
|
||||
|
||||
|
@ -647,7 +650,7 @@ static void gpsNewData(uint16_t c)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
;
|
||||
break;
|
||||
}
|
||||
} //end of gps calcs
|
||||
}
|
||||
|
@ -1460,3 +1463,4 @@ void updateGpsIndicator(uint32_t currentTime)
|
|||
LED1_TOGGLE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue