]> git.mxchange.org Git - flightgear.git/commitdiff
Force ATC interface to run at 30 hz.
authorcurt <curt>
Mon, 19 Aug 2002 01:59:26 +0000 (01:59 +0000)
committercurt <curt>
Mon, 19 Aug 2002 01:59:26 +0000 (01:59 +0000)
src/Main/fg_io.cxx

index db276d884c73ddf93874ae51dccda10ff22cedc6..f2f7370ff595c1018184f7e9e063afef2a148f32 100644 (file)
@@ -87,7 +87,9 @@ static FGProtocol *parse_port_config( const string& config )
     try
     {
        if ( protocol == "atc610x" ) {
-           return new FGATC610x;
+            FGATC610x *atc610x = new FGATC610x;
+           atc610x->set_hz( 30 );
+           return atc610x;
        } else if ( protocol == "atlas" ) {
            FGAtlas *atlas = new FGAtlas;
            io = atlas;