Skip to content

Commit 922653c

Browse files
committed
clang
1 parent 45da7d3 commit 922653c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/i2c/controller.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ static const std::map<std::string, FnCreateI2CDriver> I2cFactory = {
243243
const char *driver_name) -> drvBase * {
244244
return new drvScd30(i2c, addr, mux_channel, driver_name);
245245
}},
246-
{"sgp30",
247-
[](TwoWire *i2c, uint16_t addr, uint32_t mux_channel,
248-
const char *driver_name) -> drvBase * {
249-
return new drvSgp30(i2c, addr, mux_channel, driver_name);
250-
}},
246+
{"sgp30",
247+
[](TwoWire *i2c, uint16_t addr, uint32_t mux_channel,
248+
const char *driver_name) -> drvBase * {
249+
return new drvSgp30(i2c, addr, mux_channel, driver_name);
250+
}},
251251
{"sgp40",
252252
[](TwoWire *i2c, uint16_t addr, uint32_t mux_channel,
253253
const char *driver_name) -> drvBase * {

src/components/i2c/controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#include "drivers/drvEns160.h"
3232
#include "drivers/drvHdc302x.h"
3333
#include "drivers/drvHts221.h"
34-
#include "drivers/drvHtu31d.h"
3534
#include "drivers/drvHtu21d.h"
35+
#include "drivers/drvHtu31d.h"
3636
#include "drivers/drvIna219.h"
3737
#include "drivers/drvIna260.h"
3838
#include "drivers/drvLc709203f.h"

0 commit comments

Comments
 (0)