exclude sensors when MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR set
This commit is contained in:
1 parent
09080d76ad
commit
be0e882be1
32 files changed
+148
-21
No files matched your search
@@ -1,3 +1,5 @@
|
||||
#if !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
|
||||
|
||||
#pragma once
|
||||
#include "../mesh/generated/meshtastic/telemetry.pb.h"
|
||||
#include "NodeDB.h"
|
||||
@@ -45,4 +47,6 @@ class TelemetrySensor
|
||||
virtual bool isRunning() { return status > 0; }
|
||||
|
||||
virtual bool getMetrics(meshtastic_Telemetry *measurement) = 0;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user