number one reason for lots of stale METAR reports is wrongly set system time
This commit is contained in:
parent
6a3be655d2
commit
624ca31263
1 changed files with 2 additions and 1 deletions
|
@ -573,7 +573,8 @@ FGMetarEnvironmentCtrl::fetch_data( const string &icao )
|
||||||
|
|
||||||
if (++_stale_count > 10) {
|
if (++_stale_count > 10) {
|
||||||
_error_count = 1000;
|
_error_count = 1000;
|
||||||
throw sg_io_exception("More than 10 stale METAR messages in a row.");
|
throw sg_io_exception("More than 10 stale METAR messages in a row."
|
||||||
|
" Check your system time!");
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
_stale_count = 0;
|
_stale_count = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue