mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-21 10:42:35 +10:00
add a .clang-format file (#9154)
This commit is contained in:
@@ -12,18 +12,17 @@
|
||||
#include "TelemetrySensor.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
class RAK12035Sensor : public TelemetrySensor
|
||||
{
|
||||
private:
|
||||
RAK12035 sensor;
|
||||
void setup();
|
||||
class RAK12035Sensor : public TelemetrySensor {
|
||||
private:
|
||||
RAK12035 sensor;
|
||||
void setup();
|
||||
|
||||
public:
|
||||
RAK12035Sensor();
|
||||
public:
|
||||
RAK12035Sensor();
|
||||
#if WIRE_INTERFACES_COUNT > 1
|
||||
virtual bool onlyWire1() { return true; }
|
||||
virtual bool onlyWire1() { return true; }
|
||||
#endif
|
||||
virtual bool getMetrics(meshtastic_Telemetry *measurement) override;
|
||||
virtual bool initDevice(TwoWire *bus, ScanI2C::FoundDevice *dev) override;
|
||||
virtual bool getMetrics(meshtastic_Telemetry *measurement) override;
|
||||
virtual bool initDevice(TwoWire *bus, ScanI2C::FoundDevice *dev) override;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user