doc: clarify how EasyMotor gets put into idle mode
[fw/altos] / altosui / AltosGraphUI.java
index 8f52728bf13cfe1ea9d6c5e95a0e104d341e3440..47ba3d4275d0ca3f04a7913e680b7e9aaf2985e9 100644 (file)
@@ -140,7 +140,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
                if (config_data != null) {
                        configTable = new AltosFlightConfigTable(config_data);
                        pane.add("Configuration", configTable);
-                       if (config_data.npyro > 0) {
+                       if (config_data.npyro > 0 && config_data.npyro != AltosLib.MISSING) {
                                pyroTable = new AltosFlightPyroTable(config_data.pyros, config_data.npyro);
                                pane.add("Pyros", pyroTable);
                        }