#include <simgear/debug/logstream.hxx>
#include <simgear/io/iochannel.hxx>
#include <simgear/math/sg_types.hxx>
-#include <simgear/misc/props.hxx>
#include <simgear/misc/sg_path.hxx>
+#include <simgear/props/props.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
update_switch_matrix( board, switch_data, switch_matrix );
// master switches
- fgSetBool( "/controls/switches/master-bat", switch_matrix[board][4][1] );
- fgSetBool( "/controls/switches/master-alt", switch_matrix[board][5][1] );
+ fgSetBool( "/controls/switches/master-bat", switch_matrix[board][5][1] );
+ fgSetBool( "/controls/switches/master-alt", switch_matrix[board][4][1] );
fgSetBool( "/controls/switches/master-avionics",
switch_matrix[board][0][3] );
fuel1 = fuel;
if ( fuel1 == fuel2 && fuel2 == fuel3 ) {
fgSetBool( "/controls/fuel/tank[0]/fuel-selector", (fuel & 0x01) > 0 );
- fgSetBool( "/controls/fuel/tabk[1]/fuel-selector", (fuel & 0x02) > 0 );
+ fgSetBool( "/controls/fuel/tank[1]/fuel-selector", (fuel & 0x02) > 0 );
}
// circuit breakers