projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Allow TM config connection to be canceled.
[fw/altos]
/
altosui
/
AltosIgnite.java
diff --git
a/altosui/AltosIgnite.java
b/altosui/AltosIgnite.java
index 3cbd8a751e1e53af63fa54c4de70ffcc3b0bab80..d36381407c53ee0d46e0bda72c1fc1cd36c3aa59 100644
(file)
--- a/
altosui/AltosIgnite.java
+++ b/
altosui/AltosIgnite.java
@@
-36,11
+36,8
@@
public class AltosIgnite {
private void start_serial() throws InterruptedException {
serial_started = true;
private void start_serial() throws InterruptedException {
serial_started = true;
- if (remote) {
- serial.set_radio();
- serial.printf("p\nE 0\n");
- serial.flush_input();
- }
+ if (remote)
+ serial.start_remote();
}
private void stop_serial() throws InterruptedException {
}
private void stop_serial() throws InterruptedException {
@@
-49,10
+46,8
@@
public class AltosIgnite {
serial_started = false;
if (serial == null)
return;
serial_started = false;
if (serial == null)
return;
- if (remote) {
- serial.printf("~");
- serial.flush_output();
- }
+ if (remote)
+ serial.stop_remote();
}
class string_ref {
}
class string_ref {