Rev 1215 | Rev 1226 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1215 | Rev 1219 | ||
---|---|---|---|
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) |
310 | if(NaviDataOkay) |
315 | { |
311 | { |
316 | if(--NaviDataOkay == 0) |
312 | if(--NaviDataOkay == 0) |
317 | { |
313 | { |
318 | GPS_Nick = 0; |
314 | GPS_Nick = 0; |
Line 362... | Line 358... | ||
362 | if(!SendSPI) { SPI_TransmitByte(); } |
358 | if(!SendSPI) { SPI_TransmitByte(); } |
363 | } |
359 | } |
364 | return (1); |
360 | return (1); |
365 | } |
361 | } |
Line -... | Line 362... | ||
- | 362 | ||
- | 363 | ||
- | 364 | //if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 160 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 220) SenderOkay = 160; |