revive MC33816 driver, also support bus sharing #6781
handling loss of power only:alphax-4k-gdi
This commit is contained in:
parent
3f34e9c1ee
commit
c6560ea370
|
@ -25,7 +25,7 @@ pins:
|
|||
type: ls
|
||||
|
||||
- pin: 6A
|
||||
function: GDI Injector 3 Positive
|
||||
function: GDI Injector 2 Positive
|
||||
|
||||
- pin: 7A
|
||||
function: GDI Injector 2 Negative
|
||||
|
@ -35,7 +35,7 @@ pins:
|
|||
type: ls
|
||||
|
||||
- pin: 8A
|
||||
function: GDI Injector 2 Positive
|
||||
function: GDI Injector 1 Positive
|
||||
|
||||
- pin: 9A
|
||||
function: GDI Injector 1 Negative
|
||||
|
|
|
@ -268,6 +268,10 @@ static THD_FUNCTION(mc33_driver_thread, p) {
|
|||
|
||||
while (true) {
|
||||
if (!isIgnVoltage()) {
|
||||
if (isInitialized) {
|
||||
efiPrintf("Power loss? Would have to re-init mc33/PT2001?");
|
||||
isInitialized = false;
|
||||
}
|
||||
chThdSleepMilliseconds(100);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue