Rev 1495 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1495 | Rev 1613 | ||
---|---|---|---|
Line 1310... | Line 1310... | ||
1310 | } |
1310 | } |
Line 1311... | Line 1311... | ||
1311 | 1311 | ||
1312 | // if height control is activated by an rc channel |
1312 | // if height control is activated by an rc channel |
1313 | if(EE_Parameter.GlobalConfig & CFG_HOEHEN_SCHALTER) // Regler wird über Schalter gesteuert |
1313 | if(EE_Parameter.GlobalConfig & CFG_HOEHEN_SCHALTER) // Regler wird über Schalter gesteuert |
1314 | { // check if parameter is less than activation threshold |
1314 | { // check if parameter is less than activation threshold |
1315 | if(Parameter_MaxHoehe < 50) // for 3 or 2-state switch height control is disabled in lowest position |
1315 | if(Parameter_MaxHoehe < 100) // for 3 or 2-state switch height control is disabled in lowest position |
1316 | { //height control not active |
1316 | { //height control not active |
1317 | if(!delay--) |
1317 | if(!delay--) |
1318 | { |
1318 | { |
1319 | HoehenReglerAktiv = 0; // disable height control |
1319 | HoehenReglerAktiv = 0; // disable height control |