Rev 2009 | Rev 2028 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2009 | Rev 2012 | ||
---|---|---|---|
Line 586... | Line 586... | ||
586 | CHK_POTI_MM(Parameter_Luftdruck_D,EE_Parameter.Luftdruck_D,0,100); |
586 | CHK_POTI_MM(Parameter_Luftdruck_D,EE_Parameter.Luftdruck_D,0,100); |
587 | CHK_POTI_MM(Parameter_Hoehe_P,EE_Parameter.Hoehe_P,0,100); |
587 | CHK_POTI_MM(Parameter_Hoehe_P,EE_Parameter.Hoehe_P,0,100); |
588 | CHK_POTI_MM(Parameter_Gyro_P,EE_Parameter.Gyro_P,10,255); |
588 | CHK_POTI_MM(Parameter_Gyro_P,EE_Parameter.Gyro_P,10,255); |
589 | CHK_POTI_MM(Parameter_J16Timing,EE_Parameter.J16Timing,5,255); |
589 | CHK_POTI_MM(Parameter_J16Timing,EE_Parameter.J16Timing,5,255); |
590 | CHK_POTI_MM(Parameter_J17Timing,EE_Parameter.J17Timing,5,255); |
590 | CHK_POTI_MM(Parameter_J17Timing,EE_Parameter.J17Timing,5,255); |
- | 591 | ||
- | 592 | if(EE_Parameter.Servo3 == 247) { if(PORTC & (1<<PORTC2)) Parameter_Servo3 = 130; else Parameter_Servo3 = 80;} |
|
- | 593 | else if(EE_Parameter.Servo3 == 246) { if(PORTC & (1<<PORTC3)) Parameter_Servo3 = 130; else Parameter_Servo3 = 80;} |
|
591 | CHK_POTI(Parameter_Servo3,EE_Parameter.Servo3); |
594 | else CHK_POTI(Parameter_Servo3,EE_Parameter.Servo3); |
- | 595 | ||
592 | CHK_POTI(Parameter_Servo4,EE_Parameter.Servo4); |
596 | if(EE_Parameter.Servo4 == 247) { if(PORTC & (1<<PORTC2)) Parameter_Servo4 = 130; else Parameter_Servo4 = 80;} |
- | 597 | else if(EE_Parameter.Servo4 == 246) { if(PORTC & (1<<PORTC3)) Parameter_Servo4 = 130; else Parameter_Servo4 = 80;} |
|
593 | CHK_POTI(Parameter_Servo5,EE_Parameter.Servo5); |
598 | else CHK_POTI(Parameter_Servo4,EE_Parameter.Servo4); |
- | 599 | ||
594 | CHK_POTI(Parameter_HoehenSchalter,EE_Parameter.MaxHoehe); |
600 | CHK_POTI(Parameter_HoehenSchalter,EE_Parameter.MaxHoehe); |
595 | CHK_POTI(Parameter_Hoehe_ACC_Wirkung,EE_Parameter.Hoehe_ACC_Wirkung); |
601 | CHK_POTI(Parameter_Hoehe_ACC_Wirkung,EE_Parameter.Hoehe_ACC_Wirkung); |
596 | CHK_POTI(Parameter_Hoehe_GPS_Z,EE_Parameter.Hoehe_GPS_Z); |
602 | CHK_POTI(Parameter_Hoehe_GPS_Z,EE_Parameter.Hoehe_GPS_Z); |
597 | CHK_POTI(Parameter_KompassWirkung,EE_Parameter.KompassWirkung); |
603 | CHK_POTI(Parameter_KompassWirkung,EE_Parameter.KompassWirkung); |
598 | CHK_POTI(Parameter_Gyro_I,EE_Parameter.Gyro_I); |
604 | CHK_POTI(Parameter_Gyro_I,EE_Parameter.Gyro_I); |