@@ -138,7 +138,7 @@ ArduinoInterface::~ArduinoInterface() {
138138
139139// Check CTS status by asking the device to set it and then checking what happened
140140DiagnosticResponse 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
151151DiagnosticResponse 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