Subversion Repositories NaviCtrl

Rev

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

Rev 171 Rev 178
Line 387... Line 387...
387
 
387
 
388
                        case 'u': // redirect debug uart
388
                        case 'u': // redirect debug uart
389
                                switch(SerialMsg.pData[0])
389
                                switch(SerialMsg.pData[0])
390
                                {
390
                                {
-
 
391
                                        case UART_FLIGHTCTRL:
391
                                        case UART_FLIGHTCTRL:
392
                                                TIMER2_Deinit();                        // reduce irq load
392
                                                UART2_Init();                           // initialize UART2 to FC pins
393
                                                UART2_Init();                           // initialize UART2 to FC pins
393
                                                fifo_purge(&UART1_rx_fifo);
394
                                                fifo_purge(&UART1_rx_fifo);
394
                                                DebugUART = UART2;
395
                                                DebugUART = UART2;
395
                                                break;
396
                                                break;