kopia lustrzana https://github.com/meshtastic/firmware
Fix build error for none RAK2560 devices
rodzic
d7c52c33b9
commit
5e01b4251f
|
|
@ -1,3 +1,4 @@
|
|||
#ifdef HAS_RAKPROT
|
||||
#include "RAK9154Sensor.h"
|
||||
#include "../mesh/generated/meshtastic/telemetry.pb.h"
|
||||
#include "TelemetrySensor.h"
|
||||
|
|
@ -187,3 +188,4 @@ bool RAK9154Sensor::isCharging()
|
|||
{
|
||||
return (dc_cur > 0) ? true : false;
|
||||
}
|
||||
#endif // HAS_RAKPROT
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
#ifdef HAS_RAKPROT
|
||||
#include "../mesh/generated/meshtastic/telemetry.pb.h"
|
||||
#include "TelemetrySensor.h"
|
||||
#include "VoltageSensor.h"
|
||||
|
|
@ -16,3 +17,4 @@ class RAK9154Sensor : public TelemetrySensor, VoltageSensor
|
|||
int getBusBatteryPercent();
|
||||
bool isCharging();
|
||||
};
|
||||
#endif // HAS_RAKPROT
|
||||
Ładowanie…
Reference in New Issue