Epic: Remove FSIO #2928

This commit is contained in:
rusefi 2021-11-14 09:49:02 -05:00
parent 98a4aa86d3
commit 0ea0d601a5
1 changed files with 2 additions and 7 deletions

View File

@ -298,22 +298,17 @@ static void showFsio(const char *msg, LEElement *element) {
#endif
}
// todo: move somewhere else
static void showFsioInfo(void) {
#if EFI_PROD_CODE || EFI_SIMULATOR
showFsio("fuel", fuelPumpLogic);
for (int i = 0; i < FSIO_COMMAND_COUNT; i++) {
for (int i = 0; i < SCRIPT_SETTING_COUNT; i++) {
float v = CONFIG(scriptSetting)[i];
if (!cisnan(v)) {
efiPrintf("user property #%d: %.2f", i + 1, v);
}
}
for (int i = 0; i < FSIO_COMMAND_COUNT; i++) {
brain_pin_e inputPin = CONFIG(fsioDigitalInputs)[i];
if (isBrainPinValid(inputPin)) {
efiPrintf("FSIO digital input #%d: %s", i, hwPortname(inputPin));
}
}
#endif
}