diff options
Diffstat (limited to 'tcl/interface/parport.cfg')
-rw-r--r-- | tcl/interface/parport.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index 326005a..f7cc23a 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -2,11 +2,12 @@ # Parallel port wiggler (many clones available) on port 0x378 # # Addresses: 0x378/LPT1 or 0x278/LPT2 ... +# if { [info exists PARPORTADDR] } { - set _PARPORTADDR $PARPORTADDR + set _PARPORTADDR $PARPORTADDR } else { - set _PARPORTADDR 0x378 + set _PARPORTADDR 0x378 } interface parport |