Rev 1662 | Rev 1683 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1662 | Rev 1682 | ||
---|---|---|---|
Line 310... | Line 310... | ||
310 | { |
310 | { |
311 | beeptime = 15000; |
311 | beeptime = 15000; |
312 | BeepMuster = 0x0c00; |
312 | BeepMuster = 0x0c00; |
313 | } |
313 | } |
314 | } |
314 | } |
315 | if(NaviDataOkay) |
315 | if(NaviDataOkay > 200) |
316 | { |
316 | { |
317 | NaviDataOkay--; |
317 | NaviDataOkay--; |
318 | FCFlags &= ~FCFLAG_SPI_RX_ERR; |
318 | FCFlags &= ~FCFLAG_SPI_RX_ERR; |
319 | } |
319 | } |
320 | else |
320 | else |
321 | { |
321 | { |
- | 322 | if(NC_Version.Compatible && BeepMuster == 0xffff) |
|
- | 323 | { |
|
- | 324 | beeptime = 15000; |
|
- | 325 | BeepMuster = 0xA000; |
|
- | 326 | } |
|
322 | GPS_Nick = 0; |
327 | GPS_Nick = 0; |
323 | GPS_Roll = 0; |
328 | GPS_Roll = 0; |
- | 329 | //if(!beeptime) |
|
324 | if(!beeptime) FCFlags |= FCFLAG_SPI_RX_ERR; |
330 | FCFlags |= FCFLAG_SPI_RX_ERR; |
325 | } |
331 | } |
326 | if(UBat < BattLowVoltageWarning) |
332 | if(UBat < BattLowVoltageWarning) |
327 | { |
333 | { |
328 | FCFlags |= FCFLAG_LOWBAT; |
334 | FCFlags |= FCFLAG_LOWBAT; |
329 | if(BeepMuster == 0xffff) |
335 | if(BeepMuster == 0xffff) |