altoslib: Handle link timeout in AltosDebug.read_memory
authorKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:50:38 +0000 (20:50 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:50:38 +0000 (20:50 -0700)
commit76fd424e4624cb376ac2cf84b01b77599756680a
tree51fd470462b7d26e6160eb348c6748626675b832
parent935f769fee351545622e223a283fca64608ca410
altoslib: Handle link timeout in AltosDebug.read_memory

link.get_reply returns null on a link error; don't crash in
read_memory when this happens.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosDebug.java