This commit is contained in:
rusefi 2019-03-29 10:37:33 -04:00
parent a79175f6ef
commit cf8d3666a2
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@
#include "global.h"
/**
* This layer has two primary usages:
* 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.
*/
#ifndef PWM_PHASE_MAX_COUNT
#define PWM_PHASE_MAX_COUNT 252
#endif /* PWM_PHASE_MAX_COUNT */