Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
markirb committed Nov 17, 2024
1 parent 0bb43d5 commit 78fade7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/BL0942/shelly_pm_bl0942.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ bool BL0942PowerMeter::ReadReg(uint8_t reg, uint8_t *rx_buf, size_t len) {
uint8_t chksum = tx_buf[0] + tx_buf[1];
for (int i = 0; i < len - 1; i++) {
chksum += rx_buf[i];
LOG(LL_ERROR, "%08X", rx_buf[i]);
LOG(LL_ERROR, ("%08X", rx_buf[i]));
}
chksum ^= 0xFF;

Expand Down
2 changes: 0 additions & 2 deletions src/ShellyMini1PMGen3/shelly_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include "shelly_sys_led_btn.hpp"
#include "shelly_temp_sensor_ntc.hpp"



namespace shelly {

void CreatePeripherals(std::vector<std::unique_ptr<Input>> *inputs,
Expand Down
1 change: 0 additions & 1 deletion src/shelly_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "driver/gpio.h"
#endif


#ifdef MGOS_HAVE_PWM
#include "mgos_pwm.h"
#endif
Expand Down

0 comments on commit 78fade7

Please sign in to comment.