altosdroid: Fix a pile of compile warnings
[fw/altos] / altosdroid / app / src / main / java / org / altusmetrum / AltosDroid / AltosVoice.java
index ae3299facba66c76ea1ed15aa02308b276a982ac..4b907a05194e3c80ce6763364cfd22cb75d1d03b 100644 (file)
@@ -82,7 +82,7 @@ public class AltosVoice {
                if (!tts_enabled) return;
                last_speak_time = now();
                if (!quiet)
-                       tts.speak(s, TextToSpeech.QUEUE_ADD, null);
+                       tts.speak(s, TextToSpeech.QUEUE_ADD, null, null);
        }
 
        public synchronized long time_since_speak() {
@@ -123,8 +123,6 @@ public class AltosVoice {
                if (state == null)
                        return false;
 
-               AltosDebug.debug("tell_pad lag %b ltm %d\n", last_apogee_good, last_tell_mode);
-
                if (state.apogee_voltage != AltosLib.MISSING)
                        last_apogee_good = tell_gonogo("apogee",
                                                       state.apogee_voltage >= AltosLib.ao_igniter_good,