Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Dec 16, 2024
1 parent bb39f49 commit dcca990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stm32-modules/include/flex-stacker/firmware/i2c_comms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class I2C : public I2CBase {
auto operator=(const I2C &) = delete;
auto operator=(const I2C &&) = delete;

auto i2c_read(uint16_t dev_addr, uint16_t reg, uint16_t size) -> RxTxReturn final;
auto i2c_read(uint16_t dev_addr, uint16_t reg, uint16_t size)
-> RxTxReturn final;
auto i2c_write(uint16_t dev_addr, uint16_t reg, uint8_t *data,
uint16_t size) -> RxTxReturn final;
auto set_handle(HAL_I2C_HANDLE i2c_handle, I2C_BUS bus) -> void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class UITask {
if (bar == Internal) {
_led_driver0.set_pwm(power);
return _led_driver0.send_update(*_policy);
}
}
if (bar == External) {
_led_driver1.set_pwm(power);
return _led_driver1.send_update(*_policy);
Expand Down

0 comments on commit dcca990

Please sign in to comment.