]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_serial.cxx
Added a touch of error checking to the screen dump routine, i.e. don't
[simgear.git] / simgear / io / sg_serial.cxx
index 2d409fb8f92371d3d195138d223d3f1ee457387c..f59a98241c16e1cc326c81132d51261ce48bfb88 100644 (file)
 FG_USING_STD(string);
 
 
-SGSerial::SGSerial() :
+SGSerial::SGSerial( const string& device_name, const string& baud_rate ) :
     save_len(0)
 {
     set_type( sgSerialType );
+    device = device_name;
+    baud = baud_rate;
 }