diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 12:07:47 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 12:07:47 -0600 |
commit | 1c61bf6072ef231a2f9340c1205fbdd76bb9974d (patch) | |
tree | c48f61ed3d433e5cf865413342760a5976dd96d9 | |
parent | a12244a265f1965d4b77a048aedb1e44ed8751f9 (diff) | |
download | ktechlab-1c61bf6072ef231a2f9340c1205fbdd76bb9974d.tar.gz ktechlab-1c61bf6072ef231a2f9340c1205fbdd76bb9974d.zip |
Fix unintended renaming
-rw-r--r-- | src/electronics/port.cpp | 6 |
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; } |