This commit is contained in:
Lubos Petrovic
2020-12-21 09:22:12 +01:00
parent 58e4faebdd
commit db6556ec95

View File

@@ -150,8 +150,6 @@ void CommObd2Can::sendPID(const uint16_t pid, const String& cmd) {
void CommObd2Can::sendFlowControlFrame() { void CommObd2Can::sendFlowControlFrame() {
uint8_t txBuf[8] = { 0x30, 0, 0, 0, 0, 0, 0, 0 }; uint8_t txBuf[8] = { 0x30, 0, 0, 0, 0, 0, 0, 0 };
Serial.println("Flow control frame");
const uint8_t sndStat = CAN->sendMsgBuf(lastPid, 0, 8, txBuf); // 11 bit const uint8_t sndStat = CAN->sendMsgBuf(lastPid, 0, 8, txBuf); // 11 bit
if (sndStat == CAN_OK) { if (sndStat == CAN_OK) {
Serial.print("Flow control frame sent "); Serial.print("Flow control frame sent ");