From 64a81b67be16e4aba6b160ba9175d218dc642f02 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Fri, 9 Aug 2024 14:59:27 +0800 Subject: [PATCH] Other boards skip GPS --- examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp | 4 ++++ examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp | 4 ++++ examples/BPFFactory/LoRaBoards.cpp | 4 ++++ examples/Display/Free_Font_Demo/LoRaBoards.cpp | 4 ++++ examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp | 4 ++++ examples/Display/TFT_Char_times/LoRaBoards.cpp | 4 ++++ examples/Display/UTFT_demo/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_Example/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp | 4 ++++ examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_OutputRate/LoRaBoards.cpp | 4 ++++ examples/GPS/UBlox_Recovery/LoRaBoards.cpp | 4 ++++ examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp | 4 ++++ examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106FontUsage/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106IconMenu/LoRaBoards.cpp | 4 ++++ examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp | 4 ++++ examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp | 4 ++++ examples/OLED/SSD1306UiDemo/LoRaBoards.cpp | 4 ++++ examples/PMU/LoRaBoards.cpp | 4 ++++ examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp | 4 ++++ examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_TestExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp | 4 ++++ examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp | 4 ++++ .../Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp | 4 ++++ examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp | 4 ++++ examples/T3S3Factory/LoRaBoards.cpp | 4 ++++ 46 files changed, 184 insertions(+) diff --git a/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp b/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp +++ b/examples/ArduinoLoRa/LoRaReceiver/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp b/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp +++ b/examples/ArduinoLoRa/LoRaSender/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/BPFFactory/LoRaBoards.cpp b/examples/BPFFactory/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/BPFFactory/LoRaBoards.cpp +++ b/examples/BPFFactory/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Display/Free_Font_Demo/LoRaBoards.cpp b/examples/Display/Free_Font_Demo/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Display/Free_Font_Demo/LoRaBoards.cpp +++ b/examples/Display/Free_Font_Demo/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp b/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp +++ b/examples/Display/TBeam_TFT_Shield/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Display/TFT_Char_times/LoRaBoards.cpp b/examples/Display/TFT_Char_times/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Display/TFT_Char_times/LoRaBoards.cpp +++ b/examples/Display/TFT_Char_times/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Display/UTFT_demo/LoRaBoards.cpp b/examples/Display/UTFT_demo/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Display/UTFT_demo/LoRaBoards.cpp +++ b/examples/Display/UTFT_demo/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/TinyGPS_Example/LoRaBoards.cpp b/examples/GPS/TinyGPS_Example/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/TinyGPS_Example/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_Example/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp b/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_FullExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp b/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp +++ b/examples/GPS/TinyGPS_KitchenSink/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp b/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp +++ b/examples/GPS/UBlox_BasicNMEARead/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp b/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp +++ b/examples/GPS/UBlox_NMEAParsing/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp b/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp +++ b/examples/GPS/UBlox_OutputRate/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/GPS/UBlox_Recovery/LoRaBoards.cpp b/examples/GPS/UBlox_Recovery/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/GPS/UBlox_Recovery/LoRaBoards.cpp +++ b/examples/GPS/UBlox_Recovery/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp b/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp +++ b/examples/LoRaWAN/LMIC_Library_OTTA/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp b/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp +++ b/examples/LoRaWAN/RadioLib_OTAA/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SH1106FontUsage/LoRaBoards.cpp b/examples/OLED/SH1106FontUsage/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SH1106FontUsage/LoRaBoards.cpp +++ b/examples/OLED/SH1106FontUsage/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp b/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp +++ b/examples/OLED/SH1106GraphicsTest/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SH1106IconMenu/LoRaBoards.cpp b/examples/OLED/SH1106IconMenu/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SH1106IconMenu/LoRaBoards.cpp +++ b/examples/OLED/SH1106IconMenu/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp b/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp +++ b/examples/OLED/SH1106PrintUTF8/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp b/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp +++ b/examples/OLED/SSD1306SimpleDemo/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp b/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp +++ b/examples/OLED/SSD1306UiDemo/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/PMU/LoRaBoards.cpp b/examples/PMU/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/PMU/LoRaBoards.cpp +++ b/examples/PMU/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp b/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp +++ b/examples/RadioLibExamples/Receive_Interrupt/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp b/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp +++ b/examples/RadioLibExamples/Transmit_Interrupt/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp b/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_AdvancedsettingsExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/BME280_TestExample/LoRaBoards.cpp b/examples/Sensor/BME280_TestExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/BME280_TestExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_TestExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp b/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp +++ b/examples/Sensor/BME280_UnifiedExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp b/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_AlarmByUnits/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp b/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_SimpleTime/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp b/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_TimeLib/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp b/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp +++ b/examples/Sensor/PCF8563_TimeSynchronization/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_CalibrateExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_CompassExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_GetDataExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp b/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp +++ b/examples/Sensor/QMC6310_GetPolarExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_BlockExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_GetDataExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_InterruptBlockExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_InterruptExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_LockingMechanismExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp b/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_MadgwickAHRS/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_PedometerExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp b/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_ReadFromFifoExample/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp b/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp +++ b/examples/Sensor/QMI8658_WakeOnMotion/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) { diff --git a/examples/T3S3Factory/LoRaBoards.cpp b/examples/T3S3Factory/LoRaBoards.cpp index cbd1b37..98846a3 100644 --- a/examples/T3S3Factory/LoRaBoards.cpp +++ b/examples/T3S3Factory/LoRaBoards.cpp @@ -651,7 +651,9 @@ void setupBoards(bool disable_u8g2 ) beginWiFi(); #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF find_gps = beginGPS(); +#endif #endif Serial.println("init done . "); @@ -682,8 +684,10 @@ void printResult(bool radio_online) #endif #ifdef HAS_GPS +#ifdef T_BEAM_S3_BPF Serial.print("GPS : "); Serial.println(( find_gps ) ? "+" : "-"); +#endif #endif if (u8g2) {