Skip to content

Commit

Permalink
ready for 8.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Oct 31, 2023
1 parent 606316d commit a35c39e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---------

8.12.1
------
* bugfix: remember ability for setting the status LED

8.12.0
------
* add a trainingPhaseChoiceWorld task to fix the training levels
Expand Down
2 changes: 1 addition & 1 deletion iblrig/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def toggle_valve(self, duration=None):

@static_vars(supported=True)
def set_status_led(self, state: bool) -> bool:
if self._can_control_led and self._arcom.serial_object:
if self.serial_port and self._can_control_led and self._arcom.serial_object:
try:
log.info(f'{"en" if state else "dis"}abling Bpod Status LED')
command = struct.pack("cB", b":", state)
Expand Down

0 comments on commit a35c39e

Please sign in to comment.