Skip to content

Commit

Permalink
Stray code change.
Browse files Browse the repository at this point in the history
  • Loading branch information
morgendagen committed Oct 14, 2024
1 parent f5f75e5 commit d5e4e2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/riden_modbus/riden_modbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ bool RidenModbus::get_all_values(AllValues &all_values)
all_values.probe_temperature_fahrenheit = values_to_temperature(&(values[+Register::ProbeTemperatureFarhenheit_Sign]));
all_values.ah = values_to_ah(&(values[+Register::AH_H]));
all_values.wh = values_to_wh(&(values[+Register::WH_H]));
if (this->id)
values_to_tm(all_values.clock, &(values[+Register::Year]));
values_to_tm(all_values.clock, &(values[+Register::Year]));
all_values.is_take_ok = values[+Register::TakeOk] != 0;
all_values.is_take_out = values[+Register::TakeOut] != 0;
all_values.is_power_on_boot = values[+Register::PowerOnBoot] != 0;
Expand Down

0 comments on commit d5e4e2e

Please sign in to comment.