can
This commit is contained in:
@@ -81,12 +81,13 @@ void CommObd2Can::executeCommand(String cmd) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pid
|
// Send command
|
||||||
liveData->responseRowMerged = "";
|
liveData->responseRowMerged = "";
|
||||||
liveData->currentAtshRequest.replace(" ", "");
|
liveData->currentAtshRequest.replace(" ", "");
|
||||||
String atsh = "0" + liveData->currentAtshRequest.substring(4); // remove ATSH
|
String atsh = "0" + liveData->currentAtshRequest.substring(4); // remove ATSH
|
||||||
cmd.replace(" ", "");
|
cmd.replace(" ", "");
|
||||||
sendPID(liveData->hexToDec(atsh, 2, false), cmd);
|
sendPID(liveData->hexToDec(atsh, 2, false), cmd);
|
||||||
|
|
||||||
//delay(delayTxRx);
|
//delay(delayTxRx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user