bench test 33810 module #5745

only:f407-discovery
This commit is contained in:
rusefi 2023-11-24 16:31:55 -05:00
parent b6c76b21c0
commit 35bd4f14dd
2 changed files with 2 additions and 9 deletions

View File

@ -189,15 +189,6 @@ static const struct mc33810_config mc33810 = {
};
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);
efiPrintf("*****************+ mc33810_add %d +*******************", ret);

View File

@ -3,3 +3,5 @@
! see also FLEXIBLE_CRITICAL_LED
#define ts_show_critical_led true
#define ts_show_software_knock true
#define ts_show_inj_diag true