diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index ab8596b..b9bbd4d 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -3,6 +3,7 @@ #include "lcd.h" #include "flash.h" #include "globals.h" +#include "bus.h" #include <stdlib.h> #include <ctype.h> @@ -229,6 +230,7 @@ int main(int argc, char **argv) g_type_init (); LCD_initialize(); + bus_init(); initFlash (&globals.Flash); //register stdin channel @@ -269,6 +271,8 @@ int main(int argc, char **argv) g_signal_connect (service, "incoming", G_CALLBACK(incomingConnection), NULL); g_main_loop_run (g_main_loop_new (NULL, FALSE)); + + bus_shutdown(); free(stdinQueue); free(peers); |