Subversion Repositories FlightCtrl

Rev

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

Rev 726 Rev 727
Line 136... Line 136...
136
        // Parameter set handling
136
        // Parameter set handling
137
        ParamSet_Init();
137
        ParamSet_Init();
Line 138... Line 138...
138
 
138
 
139
    if(GetParamByte(PID_ACC_PITCH) > 4)
139
    if(GetParamByte(PID_ACC_PITCH) > 4)
140
     {
140
     {
141
       printf("\n\rACC nicht abgeglichen!");
141
       printf("\n\rACC not calibrated!");
Line 142... Line 142...
142
     }
142
     }
143
 
143
 
144
        //kurze Wartezeit (sonst reagiert die "Kompass kalibrieren?"-Abfrage nicht
144
        //wait for a short time (otherwise the RC channel check wont work below)
Line 145... Line 145...
145
        timer = SetDelay(500);
145
        timer = SetDelay(500);
146
        while(!CheckDelay(timer));
146
        while(!CheckDelay(timer));
Line 153... Line 153...
153
        }
153
        }
Line 154... Line 154...
154
 
154
 
155
 
155
 
156
        if(ParamSet.GlobalConfig & CFG_HEIGHT_CONTROL)
156
        if(ParamSet.GlobalConfig & CFG_HEIGHT_CONTROL)
157
         {
157
         {
158
           printf("\n\rAbgleich Luftdrucksensor..");
158
           printf("\n\rCalibrating air pressure sensor..");
159
           timer = SetDelay(1000);
159
           timer = SetDelay(1000);
160
       SearchAirPressureOffset();
160
       SearchAirPressureOffset();
161
           while (!CheckDelay(timer));
161
           while (!CheckDelay(timer));
Line 168... Line 168...
168
 
168
 
169
    BeepTime = 2000;
169
    BeepTime = 2000;
Line 170... Line 170...
170
    ExternControl.Digital[0] = 0x55;
170
    ExternControl.Digital[0] = 0x55;
171
 
171
 
172
 
172
 
Line 173... Line 173...
173
        printf("\n\rSteuerung: ");
173
        printf("\n\rControl: ");