ソースを参照

* minor tidy ups

Scott Powell 1 年間 前
コミット
3ae2e851a0

+ 1 - 1
variants/lilygo_tbeam_supreme_SX1262/platformio.ini

@@ -67,8 +67,8 @@ build_flags =
   -D MAX_CONTACTS=100
   -D MAX_GROUP_CHANNELS=8
   -D BLE_PIN_CODE=123456
-  -D BLE_DEBUG_LOGGING=1
   -D OFFLINE_QUEUE_SIZE=256
+;  -D BLE_DEBUG_LOGGING=1
 ;  -D ENABLE_PRIVATE_KEY_IMPORT=1
 ;  -D ENABLE_PRIVATE_KEY_EXPORT=1
 ;  -D MESH_PACKET_LOGGING=8

+ 1 - 1
variants/lilygo_tbeam_supreme_SX1262/target.cpp

@@ -392,7 +392,7 @@ void TbeamSupSensorManager::loop() {
 }
 
 int TbeamSupSensorManager::getNumSettings() const {
-  return sensorNum; 
+  return 1; 
 }
 
 const char* TbeamSupSensorManager::getSettingName(int i) const {

+ 0 - 1
variants/lilygo_tbeam_supreme_SX1262/target.h

@@ -16,7 +16,6 @@ class TbeamSupSensorManager: public SensorManager {
     LocationProvider * _nmea;
     Adafruit_BME280 bme;
     double node_temp, node_hum, node_pres;
-    int sensorNum = 1;
     
     #define SEALEVELPRESSURE_HPA (1013.25)