Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / altoslib / AltosConfigData.java
index 7b78f760cbf43646fd5923f2fbce0aa7a695a0f6..b6105f92fc3cb27265e087fb530d84da2f2f79e8 100644 (file)
@@ -223,6 +223,8 @@ public class AltosConfigData {
        }
 
        public boolean has_monitor_battery() {
+               if (product == null)
+                       return false;
                if (product.startsWith("TeleBT"))
                        return true;
                return false;