1
0
Fork 0

Fix DME unit-test: set correct power supply

This commit is contained in:
James Turner 2023-07-21 16:25:37 +01:00
parent 3535c6da7d
commit 26530e27ea

View file

@ -68,7 +68,7 @@ void DMEReceiverTests::testBasic()
SGPropertyNode_ptr node = globals->get_props()->getNode("instrumentation/dmetest[2]"); SGPropertyNode_ptr node = globals->get_props()->getNode("instrumentation/dmetest[2]");
node->setBoolValue("serviceable", true); node->setBoolValue("serviceable", true);
fgSetDouble("systems/electrical/outputs/dme", 12.0); fgSetDouble("systems/electrical/outputs/dme[2]", 12.0);
setPositionAndStabilise(r.get(), arlanda->geod()); setPositionAndStabilise(r.get(), arlanda->geod());