1
0
Fork 0

zero-gravitas: Fixed warning

lars/power_fixes
Lars Ivar Miljeteig 2018-01-26 11:15:05 +01:00
parent 2ba6b4d39d
commit 5579e106a5
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ static void set_fuelgauge_gpio_behavior(void)
mdelay(1);
ret = i2c_read(BQ27441_I2C_ADDR, BQ27441_OPCONFIG_1, 1, &opconfig, sizeof(opconfig));
ret = i2c_read(BQ27441_I2C_ADDR, BQ27441_OPCONFIG_1, 1, (uint8_t*)&opconfig, sizeof(opconfig));
if (ret) {
printf("Failed to read opconfig from fuel gauge\n");
return;