refactoring

This commit is contained in:
rusefi 2018-01-21 15:34:20 -05:00
parent 06bc94340a
commit 5ca6b5dfca
1 changed files with 6 additions and 5 deletions

View File

@ -60,11 +60,6 @@ public:
OutputPin *outputPins[PWM_PHASE_MAX_WAVE_PER_PWM];
multi_wave_s multiWave;
/**
* float value of PWM period
* PWM generation is not happening while this value is NAN
*/
float periodNt;
efitimeus_t togglePwmState();
int dbgNestingLevel;
@ -86,6 +81,12 @@ public:
* this main callback is invoked when it's time to switch level on any of the output channels
*/
pwm_gen_callback *stateChangeCallback;
private:
/**
* float value of PWM period
* PWM generation is not happening while this value is NAN
*/
float periodNt;
};