fix formatting

This commit is contained in:
zhiayang 2023-01-09 14:10:37 +08:00
parent 37de8fa171
commit 031db47519
No known key found for this signature in database
GPG key ID: 5E2F30AD6F08571F

View file

@ -202,8 +202,8 @@ static const struct sensor_driver_api max17048_api_table = {.sample_fetch = max1
.channel_get = max17048_channel_get};
#define MAX17048_INIT(inst) \
static struct max17048_config max17048_##inst##_config = { \
.i2c_bus = I2C_DT_SPEC_INST_GET(inst)}; \
static struct max17048_config max17048_##inst##_config = {.i2c_bus = \
I2C_DT_SPEC_INST_GET(inst)}; \
\
static struct max17048_drv_data max17048_##inst##_drvdata = { \
.raw_state_of_charge = 0, \