diff options
| author | Keith Packard <keithp@keithp.com> | 2014-08-17 20:59:45 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-08-17 20:59:45 -0700 |
| commit | bb7522acf040f41740ecd059e3d5d2480b652420 (patch) | |
| tree | 9c174cdac4493d3e2ab0fdec0ca065df0d25f2ed /src/telegps-v1.0 | |
| parent | 1530c24cc75cdf9ba87c7e153ff28bf7beb4384c (diff) | |
telegps-v1.0: Provide one log and append to it
Instead of creating per-flight logs, create a single log and append
data to it each time TeleGPS is powered on. This avoids potentially
running out of log space just because the device is powered off/on.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telegps-v1.0')
| -rw-r--r-- | src/telegps-v1.0/ao_pins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/telegps-v1.0/ao_pins.h b/src/telegps-v1.0/ao_pins.h index 5f53dd9d..d2382a56 100644 --- a/src/telegps-v1.0/ao_pins.h +++ b/src/telegps-v1.0/ao_pins.h @@ -71,11 +71,11 @@ #define HAS_GPS 1 #define HAS_FLIGHT 0 #define HAS_LOG 1 +#define FLIGHT_LOG_APPEND 1 #define HAS_TRACKER 1 #define AO_CONFIG_DEFAULT_APRS_INTERVAL 0 #define AO_CONFIG_DEFAULT_RADIO_POWER 0xc0 -#define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX 496 * 1024 /* * GPS |
