summaryrefslogtreecommitdiff
path: root/aoview/aoview_monitor.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
commit1234694eb903b204488ddc7cb30bcfe34bf1e677 (patch)
treebedd82fba6f84e7cdcc95a586184b37de5949a23 /aoview/aoview_monitor.c
parent4316b6af86b37522038e642235c163fcaad52e96 (diff)
Clear table, reset log on disconnect
Diffstat (limited to 'aoview/aoview_monitor.c')
-rw-r--r--aoview/aoview_monitor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/aoview/aoview_monitor.c b/aoview/aoview_monitor.c
index ba2e9df7..5c2daaa5 100644
--- a/aoview/aoview_monitor.c
+++ b/aoview/aoview_monitor.c
@@ -31,6 +31,8 @@ aoview_monitor_disconnect(void)
aoview_serial_close(monitor_serial);
monitor_serial = NULL;
}
+ aoview_table_clear();
+ aoview_log_new();
}
static void