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
|
||||
pins[i].initPin("gp pwm", cfg.pin);
|
||||
startSimplePwm(&outputs[i], "gp pwm", &engine->executor, &pins[i], freq, 0);
|
||||
if (usePwm) {
|
||||
startSimplePwm(&outputs[i], "gp pwm", &engine->executor, &pins[i], freq, 0);
|
||||
}
|
||||
|
||||
// Set up this channel's lookup table
|
||||
tables[i]->init(cfg.table, cfg.loadBins, cfg.rpmBins);
|
||||
|
|
Loading…
Reference in New Issue