applied auto-formatter
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -3,9 +3,10 @@
|
||||
|
||||
#include <test/testtasks/TestTask.h>
|
||||
|
||||
#include "mission/devices/devicedefinitions/BpxBatteryDefinitions.h"
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
||||
#include "mission/devices/devicedefinitions/BpxBatteryDefinitions.h"
|
||||
|
||||
class I2cTestClass : public TestTask {
|
||||
public:
|
||||
@ -15,10 +16,7 @@ class I2cTestClass : public TestTask {
|
||||
ReturnValue_t performPeriodicAction() override;
|
||||
|
||||
private:
|
||||
enum TestModes {
|
||||
NONE,
|
||||
BPX_BATTERY
|
||||
};
|
||||
enum TestModes { NONE, BPX_BATTERY };
|
||||
struct I2cInfo {
|
||||
int addr = 0;
|
||||
int fd = 0;
|
||||
@ -28,7 +26,7 @@ class I2cTestClass : public TestTask {
|
||||
void battInit();
|
||||
void battPeriodic();
|
||||
|
||||
I2cInfo bpxInfo = { .addr = 0x07, .fd = 0 };
|
||||
I2cInfo bpxInfo = {.addr = 0x07, .fd = 0};
|
||||
std::string i2cdev;
|
||||
size_t sendLen = 0;
|
||||
size_t recvLen = 0;
|
||||
|
Reference in New Issue
Block a user