Rev 576 | Rev 588 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 576 | Rev 586 | ||
---|---|---|---|
Line 467... | Line 467... | ||
467 | BeepTime = 50; |
467 | BeepTime = 50; |
468 | } |
468 | } |
469 | else |
469 | else |
470 | if((pPoint->Position.Status == SIMULATION) && !(FC.RealStatusFlags & FC_STATUS_MOTOR_RUN)) |
470 | if((pPoint->Position.Status == SIMULATION) && !(FC.RealStatusFlags & FC_STATUS_MOTOR_RUN)) |
471 | { |
471 | { |
- | 472 | if(pPoint->Event_Flag & SIMULATION_MOTOR_ON) |
|
- | 473 | { |
|
472 | if(pPoint->Event_Flag & SIMULATION_MOTOR_ON) GPSPos_Copy(&(pPoint->Position), &SimulationPosition); // update hold position |
474 | GPSPos_Copy(&(pPoint->Position), &SimulationPosition); // update hold position |
- | 475 | CompassDirectionAtMotorStart = SimulatedDirection*10; |
|
- | 476 | } |
|
473 | if(!(SimulationFlags & SIMULATION_MOTOR_ON) && (pPoint->Event_Flag & SIMULATION_MOTOR_ON)) |
477 | if(!(SimulationFlags & SIMULATION_MOTOR_ON) && (pPoint->Event_Flag & SIMULATION_MOTOR_ON)) |
474 | { |
478 | { |
475 | SimulationFlags = pPoint->Event_Flag | SIMULATION_MOTOR_START; // dann steht da noch nicht "SIMULATION_MOTOR_ON" drin |
479 | SimulationFlags = pPoint->Event_Flag | SIMULATION_MOTOR_START; // dann steht da noch nicht "SIMULATION_MOTOR_ON" drin |
476 | SpeakHoTT = SPEAK_STARTING; |
480 | SpeakHoTT = SPEAK_STARTING; |
477 | } |
481 | } |