From 7e074e13b27966156e8d3b53257fc19d92fefa17 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 1 May 2023 13:47:49 -0400 Subject: [PATCH] only:hellen-honda-k --- firmware/hw_layer/kline.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/hw_layer/kline.cpp b/firmware/hw_layer/kline.cpp index 5e4bb74b16..5d9697f154 100644 --- a/firmware/hw_layer/kline.cpp +++ b/firmware/hw_layer/kline.cpp @@ -26,6 +26,8 @@ static uint8_t kvalues[8]; bool kAcRequestState; static void handleHonda(uint8_t *bufferIn) { + + // no headlights 0x40, with headlights 0x60 uint8_t statusByte1 = bufferIn[1]; uint8_t statusByte2 = bufferIn[2]; kAcRequestState = statusByte1 & 0x80; @@ -58,7 +60,7 @@ void kLineThread(void*) { size_t len = readWhileGives(serialSource, bufferIn, sizeof(bufferIn)); if (engineConfiguration->verboseKLine) { - efiPrintf("ignoreRecentTransmit %d", ignoreRecentTransmit); +// efiPrintf("ignoreRecentTransmit %d", ignoreRecentTransmit); } // to begin with just write byte to console