altoslib: Hide 'state' member and use accessor function
authorKeith Packard <keithp@keithp.com>
Sun, 13 Sep 2015 02:20:49 +0000 (19:20 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Oct 2015 20:54:28 +0000 (13:54 -0700)
Someone was smashing the state to 'landed' when no packets had been
received for a while. Found that by making it impossible for anyone
outside of AltosState to change the value.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found