Skip to content

Commit c403cd1

Browse files
committed
Merge branch 'patch-1' of https://github.com/Crkk/ArduinoFloppyDiskReader into Crkk-patch-1
2 parents 36d28d5 + 65e994e commit c403cd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ArduinoFloppyReader/lib/ArduinoInterface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ArduinoInterface::~ArduinoInterface() {
138138

139139
// Check CTS status by asking the device to set it and then checking what happened
140140
DiagnosticResponse ArduinoInterface::testIndexPulse() {
141-
// Port opned. We need to check what hapens as the pin is toggled
141+
// Port opned. We need to check what happens as the pin is toggled
142142
m_lastError = runCommand(COMMAND_DIAGNOSTICS, '3');
143143
if (m_lastError != DiagnosticResponse::drOK) {
144144
m_lastCommand = LastCommand::lcRunDiagnostics;
@@ -149,7 +149,7 @@ DiagnosticResponse ArduinoInterface::testIndexPulse() {
149149

150150
// Check CTS status by asking the device to set it and then checking what happened
151151
DiagnosticResponse ArduinoInterface::testDataPulse() {
152-
// Port opned. We need to check what hapens as the pin is toggled
152+
// Port opned. We need to check what happens as the pin is toggled
153153
m_lastError = runCommand(COMMAND_DIAGNOSTICS, '4');
154154
if (m_lastError != DiagnosticResponse::drOK) {
155155
m_lastCommand = LastCommand::lcRunDiagnostics;
@@ -164,7 +164,7 @@ DiagnosticResponse ArduinoInterface::testCTS(const unsigned int portNumber) {
164164
if (m_lastError != DiagnosticResponse::drOK) return m_lastError;
165165

166166
for (int a = 1; a <= 10; a++) {
167-
// Port opned. We need to check what hapens as the pin is toggled
167+
// Port opned. We need to check what happens as the pin is toggled
168168
m_lastError = runCommand(COMMAND_DIAGNOSTICS, (a&1)?'1':'2');
169169
if (m_lastError != DiagnosticResponse::drOK) {
170170
m_lastCommand = LastCommand::lcRunDiagnostics;

0 commit comments

Comments
 (0)