void close() {
serial.close();
serial.remove_monitor(telem);
- System.out.println("DisplayThread done");
}
public DeviceThread(AltosSerial s) {
* a TeleDongle over the packet link
*/
private void SaveFlightData() {
+ AltosEeprom.SaveFlightData(AltosUI.this);
}
/* Create the AltosUI menus
}
});
menu.add(radioitem);
+ item = new JMenuItem("Test Voice",KeyEvent.VK_T);
+ item.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ voice.speak("That's one small step for man; one giant leap for mankind.");
+ }
+ });
+ menu.add(item);
}
// Channel menu