X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fradiostack.cxx;h=4a6d38da58f44bffff14f5bdc27f0a378501809c;hb=c0b4531d04215f76f9cf65afbdaed6b7c0b32634;hp=9af2567dc713d44008b4a14e822a723d77be4a86;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Cockpit/radiostack.cxx b/src/Cockpit/radiostack.cxx index 9af2567dc..4a6d38da5 100644 --- a/src/Cockpit/radiostack.cxx +++ b/src/Cockpit/radiostack.cxx @@ -77,8 +77,8 @@ FGRadioStack::init () update(0); // FIXME: use dt // Search radio database once per second - globals->get_event_mgr()->add( "fgRadioSearch()", current_radiostack, - &FGRadioStack::search, 1000 ); + globals->get_event_mgr()->addTask( "fgRadioSearch()", current_radiostack, + &FGRadioStack::search, 1 ); }