mirror of https://github.com/rusefi/rusefi-1.git
thank you Nik - dealing with false positive CUSTOM_OBD_LOW_FREQUENCY
This commit is contained in:
parent
0bdf334a8a
commit
8c9ff949fe
|
@ -34,7 +34,9 @@ void initGpPwm(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// Setup pin & pwm
|
// Setup pin & pwm
|
||||||
pins[i].initPin("gp pwm", cfg.pin);
|
pins[i].initPin("gp pwm", cfg.pin);
|
||||||
|
if (usePwm) {
|
||||||
startSimplePwm(&outputs[i], "gp pwm", &engine->executor, &pins[i], freq, 0);
|
startSimplePwm(&outputs[i], "gp pwm", &engine->executor, &pins[i], freq, 0);
|
||||||
|
}
|
||||||
|
|
||||||
// Set up this channel's lookup table
|
// Set up this channel's lookup table
|
||||||
tables[i]->init(cfg.table, cfg.loadBins, cfg.rpmBins);
|
tables[i]->init(cfg.table, cfg.loadBins, cfg.rpmBins);
|
||||||
|
|
Loading…
Reference in New Issue