diff --git a/firmware/hw_layer/kline.cpp b/firmware/hw_layer/kline.cpp index e5554c27e5..28adb14eed 100644 --- a/firmware/hw_layer/kline.cpp +++ b/firmware/hw_layer/kline.cpp @@ -38,8 +38,6 @@ static SerialDriver* const klDriver = &KLINE_SERIAL_DEVICE; static THD_WORKING_AREA(klThreadStack, UTILITY_THREAD_STACK_SIZE); static int totalBytes = 0; -static bool kLineOutPending = false; -static int kLineOut; void kLineThread(void*) { // due to single wire we read everything we've transmitted @@ -120,11 +118,6 @@ void kLineThread(void*) { } } } - if (kLineOutPending) { - kLineOutPending = false; - efiPrintf("kline OUT: 0x%02x", kLineOut); - chnWrite(klDriver, (const uint8_t *)kLineOut, 1); - } } } #endif // EFI_KLINE @@ -197,10 +190,6 @@ void initKLine() { engineConfiguration->kLineDoHondaSend = false; efiPrintf("kline send %d", engineConfiguration->kLineDoHondaSend); }); - addConsoleActionI("klinesend", [](int value){ - kLineOutPending = true; - kLineOut = value; - }); #endif // EFI_KLINE }