Subversion Repositories NaviCtrl

Rev

Rev 865 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 865 Rev 866
Line 532... Line 532...
532
        running = 1;
532
        running = 1;
Line 533... Line 533...
533
 
533
 
534
        if(CountMilliseconds != old_ms)  // 1 ms
534
        if(CountMilliseconds != old_ms)  // 1 ms
535
        {
535
        {
-
 
536
        if(!t20ms--) { CalcNickServoValue(); t20ms = 20; };
-
 
537
               
-
 
538
                // Trigger internal Portpin or Flag -> will set the Hardware Triggeroutput on the GimbalCtrl
-
 
539
                if(((UART_VersionInfo.HWMajor >= 30) && TRIGGER_PP_INTERN) || ((UART_VersionInfo.HWMajor < 30) && (FC.StatusFlags2 & FC_STATUS2_OUT1_ACTIVE))) ToGimbalCtrl.BitCmd |= GIMBAL_CMD_OUT_TRIGGER;
536
        if(!t20ms--) { CalcNickServoValue(); t20ms = 20; };
540
 
537
                if(UART1_BaudrateFallbackTimeout)
541
                if(UART1_BaudrateFallbackTimeout)
538
                 {
542
                 {
539
                  if(--UART1_BaudrateFallbackTimeout == 0) UART1_Configure(Uart1Baudrate);
543
                  if(--UART1_BaudrateFallbackTimeout == 0) UART1_Configure(Uart1Baudrate);