From: Keith Packard Date: Sun, 10 Feb 2013 22:40:48 +0000 (-0800) Subject: altoslib: Fix available flight log storage computation X-Git-Tag: altosdroid_v1.2-1~117 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a9cf50c9f29f42cc3ca0daff3c69a4087cf9aa1c;hp=a9cf50c9f29f42cc3ca0daff3c69a4087cf9aa1c;p=fw%2Faltos altoslib: Fix available flight log storage computation 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 ---