only:hellen-honda-k

dead
This commit is contained in:
rusefillc 2023-05-01 12:18:48 -04:00
parent 2ed5da2bed
commit d8ec19db9a
1 changed files with 0 additions and 11 deletions

View File

@ -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
}