cleanup (#1259)
This commit is contained in:
parent
b62f578fab
commit
c33079eb46
|
@ -41,8 +41,6 @@ fsio8_Map3D_u8t fsioTable2("fsio#2");
|
|||
fsio8_Map3D_u8t fsioTable3("fsio#3");
|
||||
fsio8_Map3D_u8t fsioTable4("fsio#4");
|
||||
|
||||
extern pin_output_mode_e DEFAULT_OUTPUT;
|
||||
|
||||
/**
|
||||
* Here we define all rusEfi-specific methods
|
||||
*/
|
||||
|
@ -686,7 +684,7 @@ void initFsioImpl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
if (brainPin != GPIO_UNASSIGNED) {
|
||||
int frequency = CONFIG(fsioFrequency)[i];
|
||||
if (frequency == 0) {
|
||||
enginePins.fsioOutputs[i].initPin(getGpioPinName(i), CONFIG(fsioOutputPins)[i], &DEFAULT_OUTPUT);
|
||||
enginePins.fsioOutputs[i].initPin(getGpioPinName(i), CONFIG(fsioOutputPins)[i]);
|
||||
} else {
|
||||
startSimplePwmExt(&fsioPwm[i], "FSIOpwm",
|
||||
&engine->executor,
|
||||
|
|
|
@ -32,7 +32,7 @@ extern WaveChart waveChart;
|
|||
EnginePins enginePins;
|
||||
static Logging* logger;
|
||||
|
||||
pin_output_mode_e DEFAULT_OUTPUT = OM_DEFAULT;
|
||||
static const pin_output_mode_e DEFAULT_OUTPUT = OM_DEFAULT;
|
||||
|
||||
static const char *sparkNames[] = { "Coil 1", "Coil 2", "Coil 3", "Coil 4", "Coil 5", "Coil 6", "Coil 7", "Coil 8",
|
||||
"Coil 9", "Coil 10", "Coil 11", "Coil 12"};
|
||||
|
|
Loading…
Reference in New Issue