Skip to content

Commit 6a82447

Browse files
authored
fix detection of LED control ability (#791)
1 parent 5e4a1c4 commit 6a82447

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
8.27.6
5+
------
6+
* fixed: detection of LED control ability broken for Bpods with old firmware
7+
48
8.27.5
59
------
610
* fixed: issues in serial communication resolved through update to iblpybpod-no-gui 3.1.0

iblrig/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# 5) git tag the release in accordance to the version number below (after merge!)
77
# >>> git tag 8.15.6
88
# >>> git push origin --tags
9-
__version__ = '8.27.5'
9+
__version__ = '8.27.6'

iblrig/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def set_status_led(self, state: bool) -> bool:
298298
self._arcom.serial_object.write(command)
299299
if self._arcom.read_uint8() == 1:
300300
return True
301-
except serial.SerialException:
301+
except (serial.SerialException, struct.error):
302302
pass
303303
self._arcom.serial_object.reset_input_buffer()
304304
self._arcom.serial_object.reset_output_buffer()

0 commit comments

Comments
 (0)