Rev 1212 | Rev 1219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1212 | Rev 1215 | ||
---|---|---|---|
Line 305... | Line 305... | ||
305 | ExternStickNick = 0; |
305 | ExternStickNick = 0; |
306 | ExternStickRoll = 0; |
306 | ExternStickRoll = 0; |
307 | ExternStickGier = 0; |
307 | ExternStickGier = 0; |
308 | } |
308 | } |
309 | if(SenderOkay) SenderOkay--; |
309 | if(SenderOkay) SenderOkay--; |
- | 310 | ||
- | 311 | //if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 160 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 220) SenderOkay = 160; |
|
- | 312 | //if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 101 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 1) SenderOkay = 101; |
|
- | 313 | ||
- | 314 | if(NaviDataOkay) |
|
- | 315 | { |
|
- | 316 | if(--NaviDataOkay == 0) |
|
- | 317 | { |
|
- | 318 | GPS_Nick = 0; |
|
- | 319 | GPS_Roll = 0; |
|
- | 320 | } |
|
- | 321 | } |
|
310 | if(!--I2CTimeout || MissingMotor) |
322 | if(!--I2CTimeout || MissingMotor) |
311 | { |
323 | { |
312 | if(!I2CTimeout) |
324 | if(!I2CTimeout) |
313 | { |
325 | { |
314 | i2c_reset(); |
326 | i2c_reset(); |