diff options
| author | Keith Packard <keithp@keithp.com> | 2009-06-03 17:07:34 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-06-03 17:07:34 -0700 |
| commit | 778cae8fc5a4b30e5045e4703316fc61ae18562a (patch) | |
| tree | a41fd281ebc0124a4ca6fd13a84f2ab01130d53e /aoview/aoview_file.c | |
| parent | bf140966e9649e75b884c8aa5f25ffbf9eed10ea (diff) | |
aoview: Add eeprom data fetching
Fetches the last flight data from a TM device connected via USB and writes
it to the flight log directory.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'aoview/aoview_file.c')
| -rw-r--r-- | aoview/aoview_file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aoview/aoview_file.c b/aoview/aoview_file.c index d86d5878..4a8841d6 100644 --- a/aoview/aoview_file.c +++ b/aoview/aoview_file.c @@ -68,6 +68,12 @@ aoview_file_finish(struct aoview_file *file) file->failed = 0; } +const char * +aoview_file_name(struct aoview_file *file) +{ + return file->name; +} + static GtkMessageDialog *file_fail_dialog; static void |
