Skip to content

Commit

Permalink
Merge pull request #130 from husarion/fix-bat-pub
Browse files Browse the repository at this point in the history
Update adc_node.py
  • Loading branch information
KmakD authored Jun 21, 2023
2 parents 13e9925 + ab8610e commit b37865b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panther_battery/src/adc_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _battery_timer_cb(self, *args) -> None:
else:
temp_bat_1 = self._voltage_to_deg(V_temp_bat_1)
self._publish_battery_msg(
self._battery_pub, V_bat_1, temp_bat_1, -(I_bat_1 + I_bat_2) + I_charge_bat_1
self._battery_pub, V_bat_1, temp_bat_1, -(I_bat_1 + I_bat_2) + I_charge_bat_1, I_charge_bat_1
)

def _check_battery_count(self) -> int:
Expand Down

0 comments on commit b37865b

Please sign in to comment.