Browse Source

fixed build without ENV_INCLUDE_GPS

pull/1589/head
Marnick Hartgers 4 months ago
parent
commit
0a66dee990
  1. 3
      variants/sensecap_solar/target.cpp

3
variants/sensecap_solar/target.cpp

@ -1,8 +1,9 @@
#include <Arduino.h> #include <Arduino.h>
#include "target.h" #include "target.h"
#include <helpers/ArduinoHelpers.h> #include <helpers/ArduinoHelpers.h>
#ifdef ENV_INCLUDE_GPS
#include <helpers/sensors/MicroNMEALocationProvider.h> #include <helpers/sensors/MicroNMEALocationProvider.h>
#endif
SenseCapSolarBoard board; SenseCapSolarBoard board;
RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI); RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI);

Loading…
Cancel
Save