rusEFI needs K-line firmware support #3248
This commit is contained in:
parent
2bc79540c5
commit
1e37c54c5e
|
@ -1,7 +1,7 @@
|
|||
#include "pch.h"
|
||||
#include "kline.h"
|
||||
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
static THD_WORKING_AREA(klThreadStack, UTILITY_THREAD_STACK_SIZE);
|
||||
|
||||
void kLineThread(void*)
|
||||
|
@ -14,6 +14,7 @@ void kLineThread(void*)
|
|||
chThdSleepMilliseconds(50);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void initKLine() {
|
||||
|
||||
|
@ -21,4 +22,4 @@ void initKLine() {
|
|||
chThdCreateStatic(klThreadStack, sizeof(klThreadStack), NORMALPRIO + 1, kLineThread, nullptr);
|
||||
// todo: conditional uart initialization matching 2003 miata k-line
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue