diff options
Diffstat (limited to 'src/electronics')
-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; } |