Skip to content

Commit 1f43e28

Browse files
authored
Update pzemac.h
pre_ to p_
1 parent 879d955 commit 1f43e28

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 pre_last_update_time_;
42-
float pre_last_energy_sensor;
41+
uint32_t p_last_update_time_;
42+
float p_last_energy_sensor;
4343
};
4444

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

0 commit comments

Comments
 (0)