altosui: Respect storage limits in flight log max config 0.9.6.0
authorKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 07:00:54 +0000 (00:00 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 07:00:54 +0000 (00:00 -0700)
commitef7f60df841f1eb22b9cec0d7f68cf2c003d6b30
tree58d45a81455dc5dea3ad0465aff550f668c52752
parent746d6a472a20243a8c0eacc8edf8e81e0641bc17
altosui: Respect storage limits in flight log max config

Compute the maximum flight log using the data returned from the 'f'
command (total storage and erase block size). Limit menu to choices
which fall within this limit, complain if the user asks for too big a value.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfig.java
altosui/AltosConfigData.java
altosui/AltosConfigUI.java