mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
t-beam supreme: fixes and cleanup
Reverted the SensorManager changes Moved BME into TbeamSupSensorManager Moved printBMEValues into TbeamSupSensorManager Moved scanDevices out of TBeamS3SupremeBoard
This commit is contained in:
parent
4990fe40e7
commit
4f503de743
4 changed files with 17 additions and 11 deletions
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
class SensorManager {
|
||||
public:
|
||||
double node_lat, node_lon, node_temp, node_hum, node_pres; // modify these, if you want to affect Advert location
|
||||
double node_lat, node_lon; // modify these, if you want to affect Advert location
|
||||
double node_altitude; // altitude in meters
|
||||
|
||||
SensorManager() { node_lat = 0; node_lon = 0; node_altitude = 0; node_temp = 0; node_hum = 0; node_pres = 0;}
|
||||
SensorManager() { node_lat = 0; node_lon = 0; node_altitude = 0;}
|
||||
virtual bool begin() { return false; }
|
||||
virtual bool querySensors(uint8_t requester_permissions, CayenneLPP& telemetry) { return false; }
|
||||
virtual void loop() { }
|
||||
|
|
|
|||
|
|
@ -55,9 +55,7 @@ class TBeamS3SupremeBoard : public ESP32Board {
|
|||
XPowersAXP2101 PMU;
|
||||
public:
|
||||
#ifdef MESH_DEBUG
|
||||
void scanDevices(TwoWire *w);
|
||||
void printPMU();
|
||||
void printBMEValues();
|
||||
#endif
|
||||
bool power_init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue