1
0
Fork 0
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:
Dominic Clifton 2014-06-28 20:20:16 +09:00
parent b3a718882c
commit 3b629d58a0
19 changed files with 144 additions and 29 deletions

View file

@ -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