diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-22 01:10:44 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-22 01:10:44 -0800 |
commit | d6ba07e885bdc62ba64719c9d8cc42fcecbcb09d (patch) | |
tree | 61cb9db84c208b96c828e38223827bc23d25c4c4 /ao-tools/lib/cc.h | |
parent | 06cebd1026dc1bd6ee51526fa2d02905df3b3b37 (diff) |
Automatically extract flight number for eeprom and telem filenames.
Extract flight number from either telemetry or eeprom files and use
that in the resulting filenames. To ensure that files remain unique,
add a new field, -seq-%03d. This is appended only when the sequence
number is non-zero as it shouldn't occur in normal usage.
This also eliminates some duplicate filename creation code in the
library and aoview sources.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc.h')
-rw-r--r-- | ao-tools/lib/cc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/lib/cc.h b/ao-tools/lib/cc.h index 46b16a8e..ede46aa0 100644 --- a/ao-tools/lib/cc.h +++ b/ao-tools/lib/cc.h @@ -61,7 +61,7 @@ char * cc_get_log_dir(void); char * -cc_make_filename(int serial, char *ext); +cc_make_filename(int serial, int flight, char *ext); /* * For sequential data which are not evenly spaced |