only:hellen-honda-k
This commit is contained in:
rusefillc 2023-04-03 13:37:26 -04:00
parent 7e7b2800e2
commit bbf756d941
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ void kLineThread(void*) {
totalBytes++;
}
if (len > 1) {
efiPrintf("hack 0x%02x 0x%02x", bufferIn[0], bufferIn[5]);
efiPrintf("ha 0x%02x 0x%02x", crc_hondak_calc(bufferIn, 4), bufferIn[2] & 0x80);
int crc = crc_hondak_calc(bufferIn, len - 1);
if (crc == bufferIn[len - 1]) {
if (engineConfiguration->verboseKLine) {