Subversion Repositories FlightCtrl

Rev

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

Rev 727 Rev 731
Line 134... Line 134...
134
        GRN_ON;
134
        GRN_ON;
Line 135... Line 135...
135
 
135
 
136
        // Parameter set handling
136
        // Parameter set handling
Line 137... Line 137...
137
        ParamSet_Init();
137
        ParamSet_Init();
138
 
138
 
139
    if(GetParamByte(PID_ACC_PITCH) > 4)
139
    if(GetParamWord(PID_ACC_PITCH) > 1023)
140
     {
140
     {
Line 141... Line 141...
141
       printf("\n\rACC not calibrated!");
141
       printf("\n\rACC not calibrated!");
142
     }
142
     }
143
 
143
 
Line 144... Line 144...
144
        //wait for a short time (otherwise the RC channel check wont work below)
144
        //wait for a short time (otherwise the RC channel check won't work below)
145
        timer = SetDelay(500);
145
        timer = SetDelay(500);