Skip to content

Commit ffe370d

Browse files
committed
fix 7i96s 7i77 i/o port fixes #115
Signed-off-by: John Thornton <[email protected]>
1 parent 982a865 commit ffe370d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mesact/src/libmesact/buildio.py

+7
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,13 @@ def build_io(parent):
459459
port = ports[board]
460460
else: # everything else is port 0
461461
port = 0
462+
463+
if parent.hal_name == '7i96s': # check for daughter card
464+
if parent.daughterCB_0.currentData() == '7i76':
465+
port = 1
466+
elif parent.daughterCB_0.currentData() == '7i77':
467+
port = 0
468+
462469
for j in range(16):
463470
key = getattr(parent, f'c{i}_output_{j}').text()
464471
if key != 'Select':

0 commit comments

Comments
 (0)