Skip to content

Commit

Permalink
Merge pull request #5 from wonsky007/master
Browse files Browse the repository at this point in the history
Update driver.h
  • Loading branch information
SzczepanLeon authored Dec 20, 2023
2 parents 1c31d53 + 04cdb43 commit 0e9a1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct Driver
i += 2;
usage = bcd_2_int(telegram, i, 4);
// in kWh
ret_val = usage / 3.6;
ret_val = usage / 360000;
ESP_LOGVV(TAG, "Found register '0C09' with '%d'->'%f'", usage, ret_val.value());
break;
}
Expand Down

0 comments on commit 0e9a1c1

Please sign in to comment.