Fixed warnings related to mpp_state
This commit is contained in:
parent
efca8d7e1a
commit
ff4133232b
|
@ -632,6 +632,12 @@ int main(void)
|
|||
power_state.temp_avg = fxp_from_int(-999);
|
||||
|
||||
/* initialize mpp_state */
|
||||
mpp_state.powerSamples = 0;
|
||||
mpp_state.powerAccu = 0;
|
||||
mpp_state.maxPower = 0;
|
||||
mpp_state.refPower = 0;
|
||||
mpp_state.nextTestStepTime = 0;
|
||||
mpp_state.testIdx = -1;
|
||||
mpp_state.maxPWM = CONV_PWM_MAX;
|
||||
mpp_state.refPWM = CONV_PWM_MAX;
|
||||
|
||||
|
|
Loading…
Reference in a new issue