Force ATC interface to run at 30 hz.
This commit is contained in:
parent
f0e40fa3f8
commit
d2ba5b1883
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue