1
0
Fork 0

Changes to correspond with ATC hardware code changes.

This commit is contained in:
curt 2004-12-24 02:16:05 +00:00
parent ec82773222
commit 4ab7603523

View file

@ -38,7 +38,7 @@
#include <simgear/misc/strutils.hxx> #include <simgear/misc/strutils.hxx>
#include <Network/protocol.hxx> #include <Network/protocol.hxx>
#include <Network/atc610x.hxx> #include <Network/ATC-Main.hxx>
#include <Network/atlas.hxx> #include <Network/atlas.hxx>
#include <Network/garmin.hxx> #include <Network/garmin.hxx>
#include <Network/httpd.hxx> #include <Network/httpd.hxx>
@ -107,7 +107,7 @@ FGIO::parse_port_config( const string& config )
try try
{ {
if ( protocol == "atcsim" ) { if ( protocol == "atcsim" ) {
FGATC610x *atcsim = new FGATC610x; FGATCMain *atcsim = new FGATCMain;
atcsim->set_hz( 30 ); atcsim->set_hz( 30 );
if ( tokens.size() != 6 ) { if ( tokens.size() != 6 ) {
SG_LOG( SG_IO, SG_ALERT, "Usage: --atcsim=[no-]pedals," SG_LOG( SG_IO, SG_ALERT, "Usage: --atcsim=[no-]pedals,"