diff --git a/BoardM5stackCore.cpp b/BoardM5stackCore.cpp index e41afd0..523a067 100644 --- a/BoardM5stackCore.cpp +++ b/BoardM5stackCore.cpp @@ -21,7 +21,7 @@ void BoardM5stackCore::initBoard() { // Mute speaker //ledcWriteTone(TONE_PIN_CHANNEL, 0); - digitalWrite(SPEAKER_PIN, 0); + dacWrite(SPEAKER_PIN, 0); // Board320_240::initBoard(); diff --git a/CommObd2Can.cpp b/CommObd2Can.cpp index 6607d9b..ba3881c 100644 --- a/CommObd2Can.cpp +++ b/CommObd2Can.cpp @@ -196,7 +196,7 @@ void CommObd2Can::sendPID(const uint16_t pid, const String& cmd) { */ void CommObd2Can::sendFlowControlFrame() { - uint8_t txBuf[8] = { 0x30, requestFramesCount /*request count*/, 14 /*ms between frames*/ , 0, 0, 0, 0, 0 }; + uint8_t txBuf[8] = { 0x30, requestFramesCount /*request count*/, 20 /*ms between frames*/ , 0, 0, 0, 0, 0 }; // insert 0x07 into beginning for BMW i3 if (liveData->settings.carType == CAR_BMW_I3_2014) {