Skip to content

Commit ebb582b

Browse files
authored
Update pzemac.h
m_ to pre_
1 parent 89709f8 commit ebb582b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esphome/components/pzemac/pzemac.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class PZEMAC : public PollingComponent, public modbus::ModbusDevice {
3838

3939
void reset_energy_();
4040

41-
uint32_t m_last_update_time_;
42-
float m_last_energy_sensor;
41+
uint32_t pre_last_update_time_;
42+
float pre_last_energy_sensor;
4343
};
4444

4545
template<typename... Ts> class ResetEnergyAction : public Action<Ts...> {

0 commit comments

Comments
 (0)