Modify the update rate of the closest airport with METAR to 10 seconds.
This commit is contained in:
parent
1ede51f3f6
commit
eafe5dadc0
1 changed files with 1 additions and 2 deletions
|
@ -274,7 +274,7 @@ void BasicRealWxController::init()
|
|||
update(0); // fetch data ASAP
|
||||
|
||||
globals->get_event_mgr()->addTask("checkNearbyMetar", this,
|
||||
&BasicRealWxController::checkNearbyMetar, 60 );
|
||||
&BasicRealWxController::checkNearbyMetar, 10 );
|
||||
}
|
||||
|
||||
void BasicRealWxController::reinit()
|
||||
|
@ -395,7 +395,6 @@ void BasicRealWxController::checkNearbyMetar()
|
|||
catch( sg_exception & ) {
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue