diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-21 14:25:52 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-21 14:25:52 -0400 |
commit | c31d6e7d7f22ad8a3134ad1cc461c0f10a93c720 (patch) | |
tree | b134a782a65df351179d9bbb1bc2714e9a0017c7 /instr-daemon.c | |
parent | 88767f0cf7836304029af02d8d2877a7d6db3e62 (diff) |
initialize bus
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); |