parent
b6c76b21c0
commit
35bd4f14dd
|
@ -189,15 +189,6 @@ static const struct mc33810_config mc33810 = {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (engineConfiguration->engineType == engine_type_e::FRANKENSO_TEST_33810) {
|
if (engineConfiguration->engineType == engine_type_e::FRANKENSO_TEST_33810) {
|
||||||
// copy-paste with driver struct, TODO dynamically assign into driver
|
|
||||||
efiSetPadModeWithoutOwnershipAcquisition("mc33810 EN", Gpio::A6, PAL_MODE_OUTPUT_PUSHPULL);
|
|
||||||
|
|
||||||
for (size_t i = 0;i<8;i++) {
|
|
||||||
if (mc33810.direct_io[i].port != nullptr) {
|
|
||||||
palSetPadMode(mc33810.direct_io[i].port, mc33810.direct_io[i].pad, PAL_MODE_OUTPUT_PUSHPULL);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int ret = mc33810_add(Gpio::MC33810_0_OUT_0, 0, &mc33810);
|
int ret = mc33810_add(Gpio::MC33810_0_OUT_0, 0, &mc33810);
|
||||||
efiPrintf("*****************+ mc33810_add %d +*******************", ret);
|
efiPrintf("*****************+ mc33810_add %d +*******************", ret);
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
! see also FLEXIBLE_CRITICAL_LED
|
! see also FLEXIBLE_CRITICAL_LED
|
||||||
#define ts_show_critical_led true
|
#define ts_show_critical_led true
|
||||||
#define ts_show_software_knock true
|
#define ts_show_software_knock true
|
||||||
|
|
||||||
|
#define ts_show_inj_diag true
|
||||||
|
|
Loading…
Reference in New Issue