Subversion Repositories FlightCtrl

Rev

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

Rev 553 Rev 565
Line 60... Line 60...
60
{
60
{
61
   if (number > 5) number = 5;
61
   if (number > 5) number = 5;
62
   eeprom_read_block(buffer, &EEPromArray[EEPROM_ADR_PARAM_BEGIN + length * number], length);
62
   eeprom_read_block(buffer, &EEPromArray[EEPROM_ADR_PARAM_BEGIN + length * number], length);
63
}
63
}
Line 64... Line -...
64
 
-
 
65
 
64
 
66
// -- Parametersatz ins EEPROM schreiben ---
65
// -- Parametersatz ins EEPROM schreiben ---
67
// number [0..5]   
66
// number [0..5]   
68
void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length)
67
void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length)
69
{
68
{
Line 116... Line 115...
116
 
115
 
Line 117... Line 116...
117
        StickGier = 0; PPM_in[K_GAS] = 0;StickRoll = 0; StickNick = 0;
116
        StickGier = 0; PPM_in[K_GAS] = 0;StickRoll = 0; StickNick = 0;
Line 118... Line -...
118
 
-
 
119
    ROT_OFF;
-
 
120
 
117
 
121
 
118
    ROT_OFF;
122
 
119
 
123
    Timer_Init();
120
    Timer_Init();
124
        UART_Init();
121
        UART_Init();