Skip to content

Commit

Permalink
Update jkbms_can.py
Browse files Browse the repository at this point in the history
p0l0us authored Feb 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 60479ac commit 365a951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/dbus-serialbattery/bms/jkbms_can.py
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ def get_settings(self):
# After successful connection get_settings will be call to set up the battery.
# Set the current limits, populate cell count, etc
# Return True if success, False for failure
self.max_battery_current = MAX_BATTERY_CHARGE_CURRENT
self.max_battery_charge_current = MAX_BATTERY_CHARGE_CURRENT
self.max_battery_discharge_current = MAX_BATTERY_DISCHARGE_CURRENT
self.max_battery_voltage = MAX_CELL_VOLTAGE * self.cell_count
self.min_battery_voltage = MIN_CELL_VOLTAGE * self.cell_count

0 comments on commit 365a951

Please sign in to comment.