Rev 1172 | Rev 1178 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1172 | Rev 1175 | ||
---|---|---|---|
Line 248... | Line 248... | ||
248 | while (1) |
248 | while (1) |
249 | { |
249 | { |
250 | if(UpdateMotor && AdReady) // ReglerIntervall |
250 | if(UpdateMotor && AdReady) // ReglerIntervall |
251 | { |
251 | { |
252 | UpdateMotor=0; |
252 | UpdateMotor=0; |
253 | J3High; |
253 | //J3High; |
254 | if(WinkelOut.CalcState) CalMk3Mag(); |
254 | if(WinkelOut.CalcState) CalMk3Mag(); |
255 | else MotorRegler(); |
255 | else MotorRegler(); |
256 | J3Low; |
256 | //J3Low; |
257 | SendMotorData(); |
257 | SendMotorData(); |
258 | ROT_OFF; |
258 | ROT_OFF; |
259 | if(PcZugriff) PcZugriff--; |
259 | if(PcZugriff) PcZugriff--; |
260 | else |
260 | else |
261 | { |
261 | { |