@@ -135,7 +135,7 @@ ArduinoInterface::~ArduinoInterface() {
135135
136136// Check CTS status by asking the device to set it and then checking what happened
137137DiagnosticResponse ArduinoInterface::testIndexPulse () {
138- // Port opned. We need to check what hapens as the pin is toggled
138+ // Port opned. We need to check what happens as the pin is toggled
139139 m_lastError = runCommand (COMMAND_DIAGNOSTICS, ' 3' );
140140 if (m_lastError != drOK) {
141141 m_lastCommand = lcRunDiagnostics;
@@ -146,7 +146,7 @@ DiagnosticResponse ArduinoInterface::testIndexPulse() {
146146
147147// Check CTS status by asking the device to set it and then checking what happened
148148DiagnosticResponse ArduinoInterface::testDataPulse () {
149- // Port opned. We need to check what hapens as the pin is toggled
149+ // Port opned. We need to check what happens as the pin is toggled
150150 m_lastError = runCommand (COMMAND_DIAGNOSTICS, ' 4' );
151151 if (m_lastError != drOK) {
152152 m_lastCommand = lcRunDiagnostics;
@@ -161,7 +161,7 @@ DiagnosticResponse ArduinoInterface::testCTS(const unsigned int portNumber) {
161161 if (m_lastError != DiagnosticResponse::drOK) return m_lastError;
162162
163163 for (int a = 1 ; a <= 10 ; a++) {
164- // Port opned. We need to check what hapens as the pin is toggled
164+ // Port opned. We need to check what happens as the pin is toggled
165165 m_lastError = runCommand (COMMAND_DIAGNOSTICS, (a&1 )?' 1' :' 2' );
166166 if (m_lastError != drOK) {
167167 m_lastCommand = lcRunDiagnostics;
0 commit comments