altosui: Deal with altos bug setting radio channel while monitoring
authorKeith Packard <keithp@keithp.com>
Fri, 3 Sep 2010 08:21:57 +0000 (01:21 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 3 Sep 2010 14:04:28 +0000 (07:04 -0700)
commitba65e4aeb952a1cf49a77f1e24e235508fcea71f
tree784f04d97f7b277855b583e0e5eaf63a0bd14d1c
parente5ef42c2b22c6639d90631dbbb588f9fd2494385
altosui: Deal with altos bug setting radio channel while monitoring

If the monitoring thread is active, then setting the radio channel can
sometimes cause the monitoring thread to get stuck. I'm not entirely
sure why though. For now, work around the issue by making sure
monitoring is off, and the monitoring thread has stopped, before
changing the radio channel.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosSerial.java