altoslib: Fix available flight log storage computation
authorKeith Packard <keithp@keithp.com>
Sun, 10 Feb 2013 22:40:48 +0000 (14:40 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Feb 2013 22:40:48 +0000 (14:40 -0800)
number of flights was off by one as it was initialized to -1
storage erase unit wasn't getting fetched correctly
flight_log_max is in kB, not B; need to multiply by 1024

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

No differences found