fix formatting
This commit is contained in:
parent
37de8fa171
commit
031db47519
1 changed files with 4 additions and 4 deletions
|
@ -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, \
|
||||
|
|
Loading…
Add table
Reference in a new issue