diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-01-28 10:35:25 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2013-01-28 10:35:25 -0500 |
commit | 4e77d77e5dd1ea4268100bf870c58e45a86cb9ce (patch) | |
tree | 92c13ade7f4878c14993dc17762382d650788b87 /instr-daemon.c | |
parent | 237c74240feecedd4b4206eb4a447736cbcb5a9c (diff) |
make vxi feature optional, enable with "diag:eprom:char 225 1"
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index e1d5c8e..e110863 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -294,9 +294,11 @@ int main(int argc, char **argv) g_timeout_add (20, (GSourceFunc) periodic_poll, NULL); g_timeout_add (100, (GSourceFunc) finish_boot, NULL); - GThread *vxithread =g_thread_create(vxithreadfunc, NULL,false, NULL); - if(vxithread == NULL) - printf("Couldn't create vxi thread\n"); + if (globals.Flash.vxi_enabled) { + GThread *vxithread =g_thread_create(vxithreadfunc, NULL,false, NULL); + if(vxithread == NULL) + printf("Couldn't create vxi thread\n"); + } g_main_loop_run (loop); |