Skip to content

Commit

Permalink
Logical boards order
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 7, 2021
1 parent 70d121f commit 2f455be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microfpga/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def __init__(self, n_laser=0, n_ttl=0, n_servo=0, n_pwm=0, n_ai=0, use_camera=Tr
', got ' + str(self._version) + '. The port has been disconnected')

if not (self._id in signals.get_compatible_ids()):
raise Warning(f'Wrong board id: expected {signals.ID_AU} (Au),'
f' {signals.ID_AUP} (Au+), {signals.ID_CU} (Cu) or'
f' {signals.ID_MOJO} (Mojo),'
raise Warning(f'Wrong board id: expected {signals.ID_MOJO} (Mojo),'
f' {signals.ID_CU} (Cu), {signals.ID_AU} (Au) or'
f' {signals.ID_AUP} (Au+),'
f' got {self._id}. The port has been disconnected')

def __enter__(self):
Expand Down

0 comments on commit 2f455be

Please sign in to comment.