mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-22 11:17:49 +10:00
add a .clang-format file (#9154)
This commit is contained in:
+10
-12
@@ -10,24 +10,22 @@
|
||||
|
||||
#include <stk8baxx.h>
|
||||
|
||||
class STK8XXXSensor : public MotionSensor
|
||||
{
|
||||
private:
|
||||
STK8xxx sensor;
|
||||
class STK8XXXSensor : public MotionSensor {
|
||||
private:
|
||||
STK8xxx sensor;
|
||||
|
||||
public:
|
||||
explicit STK8XXXSensor(ScanI2C::FoundDevice foundDevice);
|
||||
virtual bool init() override;
|
||||
virtual int32_t runOnce() override;
|
||||
public:
|
||||
explicit STK8XXXSensor(ScanI2C::FoundDevice foundDevice);
|
||||
virtual bool init() override;
|
||||
virtual int32_t runOnce() override;
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
// Stub
|
||||
class STK8XXXSensor : public MotionSensor
|
||||
{
|
||||
public:
|
||||
explicit STK8XXXSensor(ScanI2C::FoundDevice foundDevice);
|
||||
class STK8XXXSensor : public MotionSensor {
|
||||
public:
|
||||
explicit STK8XXXSensor(ScanI2C::FoundDevice foundDevice);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user