This commit is contained in:
rusefi 2019-03-29 10:49:56 -04:00
parent 001fbb2526
commit b8d85bedb2
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
* 1) 'simple' PWM generation is used to produce actuator square control wave
* 2) 'complex' PWM generation is used for trigger simulator.
* Some triggers like Nissan 360 slot optical wheel need a lot of points to describe the shape of the wave.
* Looks like 252 is explained by 60 tooth * 2 (number of fronts) * 2 (number of crank rotations within engine cycle)
*/
#ifndef PWM_PHASE_MAX_COUNT
#define PWM_PHASE_MAX_COUNT 252