Skip to content

Commit aae3670

Browse files
committed
Revert "pncconf: add 7i96s"
7i96s is not supported by hostmot2 in LinuxCNC 2.8 revert commit 21ad34e
1 parent d344dea commit aae3670

File tree

3 files changed

+73
-200
lines changed

3 files changed

+73
-200
lines changed

src/emc/usr_intf/pncconf/build_HAL.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,14 +1510,14 @@ def connect_input(self, file):
15101510

15111511
def write_pins(pname,p,i,t):
15121512
# for input pins
1513-
if t in (_PD.GPIOI, _PD.INM0):
1513+
if t == _PD.GPIOI:
15141514
if not p == "unused-input":
15151515
pinname = self.a.make_pinname(pname, substitution = self.d.useinisubstitution)
15161516
print >>file, "\n# ---",p.upper(),"---"
15171517
if "parport" in pinname:
15181518
if i: print >>file, "net %s <= %s-not" % (p, pinname)
15191519
else: print >>file, "net %s <= %s" % (p, pinname)
1520-
elif "sserial" in pname or t == _PD.INM0:
1520+
elif "sserial" in pname:
15211521
if i: print >>file, "net %s <= "% (p)+pinname +"-not"
15221522
else: print >>file, "net %s <= "% (p)+pinname
15231523
else:
@@ -1605,7 +1605,7 @@ def connect_output(self, file):
16051605

16061606
def write_pins(pname,p,i,t,boardnum,connector,port,channel,pin):
16071607
# for output /open drain pins
1608-
if t in (_PD.GPIOO,_PD.GPIOD,_PD.SSR0,_PD.OUTM0):
1608+
if t in (_PD.GPIOO,_PD.GPIOD,_PD.SSR0):
16091609
if not p == "unused-output":
16101610
pinname = self.a.make_pinname(pname, substitution = self.d.useinisubstitution)
16111611
print >>file, "\n# ---",p.upper(),"---"
@@ -1619,9 +1619,9 @@ def write_pins(pname,p,i,t,boardnum,connector,port,channel,pin):
16191619
temp = pinname
16201620
# mainboard GPIOO require extra setup commands
16211621
else:
1622-
if t not in (_PD.SSR0,_PD.OUTM0): print >>file, "setp %s true"% (pinname + ".is_output")
1622+
if not t == _PD.SSR0: print >>file, "setp %s true"% (pinname + ".is_output")
16231623
if t == _PD.GPIOD: print >>file, "setp "+pinname+".is_opendrain true"
1624-
if t in (_PD.SSR0,_PD.OUTM0):
1624+
if t == _PD.SSR0:
16251625
temp = pinname
16261626
else:
16271627
temp = pinname + ".out"

0 commit comments

Comments
 (0)