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_serial.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_serial.c')
| -rw-r--r-- | aoview/aoview_serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aoview/aoview_serial.c b/aoview/aoview_serial.c index 1721a286..1d8fefce 100644 --- a/aoview/aoview_serial.c +++ b/aoview/aoview_serial.c @@ -259,6 +259,7 @@ aoview_serial_close(struct aoview_serial *serial) g_source_remove_poll(&serial->source, &serial->poll_fd); g_source_destroy(&serial->source); g_source_unref(&serial->source); + free(serial); } void |
