diff --git a/src/board/system76/common/charger/oz26786.c b/src/board/system76/common/charger/oz26786.c index c1b9f84..b7e1136 100644 --- a/src/board/system76/common/charger/oz26786.c +++ b/src/board/system76/common/charger/oz26786.c @@ -101,7 +101,11 @@ int16_t battery_charger_disable(void) { // Set charge option 2 to PSYS enable //TODO: needed when charging disabled? - res = smbus_write(CHARGER_ADDRESS, REG_CHARGE_OPTION_2, CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN); + res = smbus_write( + CHARGER_ADDRESS, + REG_CHARGE_OPTION_2, + CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN + ); if (res < 0) return res; @@ -145,7 +149,11 @@ int16_t battery_charger_enable(void) { return res; // Set charge option 2 to PSYS enable - res = smbus_write(CHARGER_ADDRESS, REG_CHARGE_OPTION_2, CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN); + res = smbus_write( + CHARGER_ADDRESS, + REG_CHARGE_OPTION_2, + CHARGE_OPTION_2_PSYS_EN | CHARGE_OPTION_2_PSYS_GAIN + ); if (res < 0) return res;