Skip to content

Commit

Permalink
Fix missing IO control for JBDBMS #992
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Feb 28, 2024
1 parent d86ee0b commit 47cd9fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions etc/dbus-serialbattery/bms/lltjbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,6 @@ def __init__(self):
self.short = False
self.IC_inspection = False
self.software_lock = False
# list of available callbacks, in order to display the buttons in the GUI
self.available_callbacks = [
"force_charging_off_callback",
"force_discharging_off_callback",
"turn_balancing_off_callback",
]

def set_voltage_high_cell(self, value):
self.voltage_high_cell = value
Expand Down Expand Up @@ -251,6 +245,12 @@ def __init__(self, port, baud, address):
self.trigger_force_disable_charge = None
self.trigger_disable_balancer = None
self.cycle_capacity = None
# list of available callbacks, in order to display the buttons in the GUI
self.available_callbacks = [
"force_charging_off_callback",
"force_discharging_off_callback",
"turn_balancing_off_callback",
]

# degree_sign = u'\N{DEGREE SIGN}'
BATTERYTYPE = "LLT/JBD"
Expand Down

0 comments on commit 47cd9fc

Please sign in to comment.