diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-10 09:55:04 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-10 09:55:04 -0700 |
commit | 44ca50a2c9404c92cc887a23dfa25b335ebe6198 (patch) | |
tree | 0aeca5746b26653c82a88479d4a36fd8dbb840a7 /src | |
parent | 9d7f4fb6af0fee843191766858e39a481aeda347 (diff) |
altos: Set TeleGPS default log size to half of avaiable memory
LPC11U14 doesn't have on-chip config space, so we're consuming a block
of external flash. As a result, only 1984kB are available for
logging. Set the default log size to half of that to store two flights.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/telegps-v0.3/ao_pins.h | 2 | ||||
-rw-r--r-- | src/telegps-v1.0/ao_pins.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/telegps-v0.3/ao_pins.h b/src/telegps-v0.3/ao_pins.h index 343e3301..83151179 100644 --- a/src/telegps-v0.3/ao_pins.h +++ b/src/telegps-v0.3/ao_pins.h @@ -73,7 +73,7 @@ #define AO_CONFIG_DEFAULT_APRS_INTERVAL 0 #define AO_CONFIG_DEFAULT_RADIO_POWER 0xc0 -#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 1024 * 1024 +#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 992 * 1024 /* * GPS diff --git a/src/telegps-v1.0/ao_pins.h b/src/telegps-v1.0/ao_pins.h index 5c58b34d..da6f466b 100644 --- a/src/telegps-v1.0/ao_pins.h +++ b/src/telegps-v1.0/ao_pins.h @@ -75,7 +75,7 @@ #define AO_CONFIG_DEFAULT_APRS_INTERVAL 0 #define AO_CONFIG_DEFAULT_RADIO_POWER 0xc0 -#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 1024 * 1024 +#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 992 * 1024 /* * GPS |