Skip to content

Commit 9615ffb

Browse files
committed
clang-format
1 parent 38af67b commit 9615ffb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/i2c/controller.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ static const std::unordered_map<uint16_t, std::vector<const char *>>
395395
{"htu21d", "htu31d", "ina219", "ina228", "ina237", "ina238", "ina260",
396396
"ms8607", "si7021", "stemma_soil"}},
397397
{0x41, {"htu31d", "ina219", "ina228", "ina237", "ina238", "ina260"}},
398-
{0x44, {"hdc302x", "ina228", "ina237", "ina238", "ina260", "sht3x", "sht4x"}},
398+
{0x44,
399+
{"hdc302x", "ina228", "ina237", "ina238", "ina260", "sht3x", "sht4x"}},
399400
{0x45, {"hdc302x", "ina228", "ina237", "ina238", "ina260", "sht3x"}},
400401
{0x46, {"hdc302x"}},
401402
{0x47, {"hdc302x"}},

src/components/i2c/drivers/drvBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
#ifndef DRV_BASE_H
1717
#define DRV_BASE_H
18+
#include "helpers/ws_helper_macros.h"
1819
#include <Adafruit_Sensor.h>
1920
#include <Arduino.h>
2021
#include <Wire.h>
2122
#include <map>
2223
#include <protos/i2c.pb.h>
23-
#include "helpers/ws_helper_macros.h"
2424

2525
#define NO_MUX_CH 0xFFFF; ///< No MUX channel specified
2626
#define DEFAULT_SENSOR_PERIOD 15.0f ///< Default sensor period, in seconds

0 commit comments

Comments
 (0)