the code is below:
First.
gMotorVars.Flag_enableSys = 1;
gMotorVars.Flag_Run_Identify = 1;
Second .
in the MainISR Start Flying Start .
if U Open Power switch ,there will be a overshoot in 3 phase ,and the V bus will have a pole .
how to know the InstaSpin is already to Start Flying Start ?I have try check ctrlState == CTRL_State_OnLine ,but it didn't work .
But if I wait 200ms ,then Start Flying start in the MainISR ,it will work with no over shoot and pole .
