Epic: Remove FSIO #2928
This commit is contained in:
parent
98a4aa86d3
commit
0ea0d601a5
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue