Subversion Repositories FlightCtrl

Rev

Rev 713 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 713 Rev 724
Line 58... Line 58...
58
#include "timer0.h"
58
#include "timer0.h"
59
#include "timer2.h"
59
#include "timer2.h"
60
#include "uart.h"
60
#include "uart.h"
61
#include "uart1.h"
61
#include "uart1.h"
62
#include "menu.h"
62
#include "menu.h"
-
 
63
#include "ubx.h"
63
#include "fc.h"
64
#include "fc.h"
64
#include "rc.h"
65
#include "rc.h"
65
#include "analog.h"
66
#include "analog.h"
66
#include "printf_P.h"
67
#include "printf_P.h"
67
//#include "spi.h"
68
//#include "spi.h"
Line 112... Line 113...
112
 
113
 
113
        // initalize modules
114
        // initalize modules
114
    TIMER0_Init();
115
    TIMER0_Init();
115
    TIMER2_Init();
116
    TIMER2_Init();
-
 
117
        USART0_Init();
116
        USART0_Init();
118
        ubx_init();
117
        if (BoardRelease == 11) USART1_Init();
119
        if (BoardRelease == 11) USART1_Init();
118
    RC_Init();
120
    RC_Init();
119
        ADC_Init();
121
        ADC_Init();
120
        i2c_init();
122
        i2c_init();