applied auto-formatter
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2022-02-03 16:04:24 +01:00
parent 3250a9f489
commit 9456dc1a00
7 changed files with 38 additions and 46 deletions

View File

@ -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;