summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
216405b)
Telling the monitor too early resulted in passing a null thread
handle, which meant that 'cancel' wouldn't ever work.
Signed-off-by: Keith Packard <keithp@keithp.com>
public void start() {
eeprom_thread = new Thread(this);
public void start() {
eeprom_thread = new Thread(this);
+ monitor.set_thread(eeprom_thread);
monitor.set_states(AltosLib.ao_flight_boost, AltosLib.ao_flight_landed);
monitor.set_states(AltosLib.ao_flight_boost, AltosLib.ao_flight_landed);
- monitor.set_thread(eeprom_thread);