mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 15:50:36 -08:00
Detect GPS module
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
//#include "a32u4_interface.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include "GpsInterface.h"
|
||||
#ifdef HAS_GPS
|
||||
#include "GpsInterface.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAS_BUTTONS
|
||||
#include <SwitchLib.h>
|
||||
@@ -36,7 +38,10 @@ extern BatteryInterface battery_obj;
|
||||
//extern A32u4Interface a32u4_obj;
|
||||
extern Settings settings_obj;
|
||||
|
||||
extern GpsInterface gps_obj;
|
||||
|
||||
#ifdef HAS_GPS
|
||||
extern GpsInterface gps_obj;
|
||||
#endif
|
||||
|
||||
#define FLASH_BUTTON 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user