Skip to content

Commit

Permalink
format common
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Dec 16, 2024
1 parent 324266d commit 5d73a08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stm32-modules/include/common/core/is31fl_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ class IS31FL {
template <IS31FL_Policy Policy>
auto send_update(Policy& policy) -> bool {
auto res1 = policy.i2c_write(Address, PWM_REGISTER_BASE, _pwm_settings);
auto res2 = policy.i2c_write(Address, LED_CONTROL_REGISTER_BASE, _current_settings);
auto res3 = write_single_reg(UPDATE_REGISTER, TRIGGER_UPDATE_VALUE, policy);
auto res2 = policy.i2c_write(Address, LED_CONTROL_REGISTER_BASE,
_current_settings);
auto res3 =
write_single_reg(UPDATE_REGISTER, TRIGGER_UPDATE_VALUE, policy);
return res1 && res2 && res3;
}

Expand Down

0 comments on commit 5d73a08

Please sign in to comment.