Subversion Repositories FlightCtrl

Rev

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

Rev 1171 Rev 1172
Line 156... Line 156...
156
    ROT_OFF;
156
    ROT_OFF;
Line 157... Line 157...
157
 
157
 
158
    Timer_Init();
158
    Timer_Init();
159
        TIMER2_Init();
159
        TIMER2_Init();
160
        UART_Init();
-
 
161
        Uart1Init();
160
        UART_Init();
162
    rc_sum_init();
161
    rc_sum_init();
163
        ADC_Init();
162
        ADC_Init();
164
        i2c_init();
163
        i2c_init();
Line 165... Line 164...
165
        SPI_MasterInit();
164
        SPI_MasterInit();
Line 166... Line 165...
166
 
165
 
-
 
166
        sei();
-
 
167
 
-
 
168
        printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",PlatinenVersion/10,PlatinenVersion%10, VERSION_MAJOR, VERSION_MINOR,VERSION_PATCH + 'a');
-
 
169
    if(UCSR1A == 0x20 && UCSR1C == 0x06)  // initial Values for 644P
167
        sei();
170
     {
168
 
-
 
169
        printf("\n\rFlightControl\n\rHardware:%d.%d\n\rSoftware:V%d.%d%c ",PlatinenVersion/10,PlatinenVersion%10, VERSION_MAJOR, VERSION_MINOR,VERSION_PATCH + 'a');
171
      Uart1Init();
170
        printf("\n\r==============================");
172
     }
Line 171... Line 173...
171
 
173
        printf("\n\r==============================");
172
        GRN_ON;
174
        GRN_ON;