Rev 1086 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1086 | Rev 1102 | ||
---|---|---|---|
Line 655... | Line 655... | ||
655 | GPS_Nick = 0; |
655 | GPS_Nick = 0; |
656 | gps_state = GPS_CRTL_IDLE; |
656 | gps_state = GPS_CRTL_IDLE; |
657 | return (GPS_STST_ERR); |
657 | return (GPS_STST_ERR); |
658 | break; |
658 | break; |
659 | } |
659 | } |
660 | else if ((PPM_in[7] > 100) && (CAM_GPS_QUIET > 0) && (gps_quiet_cnt <=4) ) // Wenn Fotoausloeser gedruckt wird, GPS Stellwerte kurzzeitig auf 0 setzen |
660 | /* else if ((PPM_in[7] > 100) && (CAM_GPS_QUIET > 0) && (gps_quiet_cnt <=4) ) // Wenn Fotoausloeser gedruckt wird, GPS Stellwerte kurzzeitig auf 0 setzen |
661 | { |
661 | { |
662 | gps_quiet_cnt++; |
662 | gps_quiet_cnt++; |
663 | GPS_Roll = 0; |
663 | GPS_Roll = 0; |
664 | GPS_Nick = 0; |
664 | GPS_Nick = 0; |
665 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
665 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
Line 669... | Line 669... | ||
669 | { |
669 | { |
670 | gps_quiet_cnt = 0; |
670 | gps_quiet_cnt = 0; |
671 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
671 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
672 | return (GPS_STST_OK); |
672 | return (GPS_STST_OK); |
673 | } |
673 | } |
674 | else |
674 | */ else |
675 | { |
675 | { |
676 | GPS_Roll = (int)ro; |
676 | GPS_Roll = (int)ro; |
677 | GPS_Nick = (int)ni; |
677 | GPS_Nick = (int)ni; |
678 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
678 | if ( cmd == GPS_CMD_REQ_HOME ) gps_state = GPS_CRTL_HOME_ACTIVE; // State umsetzen |
679 | return (GPS_STST_OK); |
679 | return (GPS_STST_OK); |