File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ void OBD2_KLine::writeData(const uint8_t* data, uint8_t dataLength) {
196196}
197197
198198uint8_t OBD2_KLine::readData () {
199- debugPrintln (F (" Reading..." ));
199+ debugPrint (F (" Reading Data ... " ));
200200 unsigned long startMillis = millis ();
201201 int bytesRead = 0 ;
202202
@@ -224,7 +224,8 @@ uint8_t OBD2_KLine::readData() {
224224 }
225225 }
226226
227- debugPrintln (F (" \n ✅ Data reception completed." ));
227+ debugPrintln (F (" " ));
228+ // debugPrintln(F("\n✅ Data reception completed."));
228229 return bytesRead;
229230 }
230231 }
@@ -722,7 +723,8 @@ void OBD2_KLine::setProtocol(const String& protocolName) {
722723 selectedProtocol = protocolName;
723724 connectionStatus = false ; // Reset connection status
724725 connectedProtocol = " " ; // Reset connected protocol
725- debugPrintln ((" Protocol set to: " + selectedProtocol).c_str ());
726+ debugPrint (F (" Protocol set to: " ));
727+ debugPrintln ((selectedProtocol).c_str ());
726728}
727729
728730// 5 Baud 7O1 (1 start, 7 data, 1 parity, 1 stop)
You can’t perform that action at this time.
0 commit comments