summaryrefslogtreecommitdiffstats
path: root/src/electronics
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-16 12:07:47 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-16 12:07:47 -0600
commit1c61bf6072ef231a2f9340c1205fbdd76bb9974d (patch)
treec48f61ed3d433e5cf865413342760a5976dd96d9 /src/electronics
parenta12244a265f1965d4b77a048aedb1e44ed8751f9 (diff)
downloadktechlab-1c61bf6072ef231a2f9340c1205fbdd76bb9974d.tar.gz
ktechlab-1c61bf6072ef231a2f9340c1205fbdd76bb9974d.zip
Fix unintended renaming
Diffstat (limited to 'src/electronics')
-rw-r--r--src/electronics/port.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/electronics/port.cpp b/src/electronics/port.cpp
index 8a92402..a173918 100644
--- a/src/electronics/port.cpp
+++ b/src/electronics/port.cpp
@@ -240,7 +240,7 @@ TQStringList SerialPort::ports( unsigned probeResult )
//BEGIN class ParallelPort
-const int IRTQ_MODE_BIT = 1 << 20; // Controls if pin 10 (Ack) causes interrupts
+const int IRQ_MODE_BIT = 1 << 20; // Controls if pin 10 (Ack) causes interrupts
const int INPUT_MODE_BIT = 1 << 21; // Controls if the data pins are input or output
const int ALWAYS_INPUT_PINS = ParallelPort::STATUS_PINS;
@@ -279,8 +279,8 @@ void ParallelPort::reset()
m_reg[Data] = 0;
m_reg[Status] = 0;
m_reg[Control] = 0;
- m_outputPins = INPUT_MODE_BIT | IRTQ_MODE_BIT;
- m_inputPins = ALWAYS_INPUT_PINS | INPUT_MODE_BIT | IRTQ_MODE_BIT;
+ m_outputPins = INPUT_MODE_BIT | IRQ_MODE_BIT;
+ m_inputPins = ALWAYS_INPUT_PINS | INPUT_MODE_BIT | IRQ_MODE_BIT;
}