diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2019-01-08 10:22:51 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2019-01-08 10:22:51 -0500 |
commit | 1f907268543af79338988082ab0f7f7344d01cb8 (patch) | |
tree | 6f9aa649e0a187083e5caedb67945273cd361a41 | |
parent | 4f94b723338bf6e30ad2a29d49ce5663f3ff8f5a (diff) |
always enable vxi now
-rw-r--r-- | flash.c | 2 | ||||
-rw-r--r-- | globals.h | 2 | ||||
-rw-r--r-- | instr-daemon.c | 5 |
3 files changed, 5 insertions, 4 deletions
@@ -507,7 +507,7 @@ static void initFlashValues(FlashStruct *mem) mem->ChanKey_Burst_Count=0; mem->ChanKey_Burst_Time=0; - mem->vxi_enabled=1; + mem->vxi_enabled=1; // ignored, always enabled now mem->self_cal=0; mem->self_cal_interval=5; mem->self_cal_startups=0; @@ -475,7 +475,7 @@ typedef struct { char ChanKey_Burst_Time; /* 224 */ - char vxi_enabled; /* 225 */ + char vxi_enabled; /* 225 - ignored, always enabled now */ short web_session_timeout; /* 226 - timeout in seconds */ diff --git a/instr-daemon.c b/instr-daemon.c index 24ca15b..9059208 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -346,12 +346,13 @@ int main(int argc, char **argv) g_timeout_add (20, (GSourceFunc) periodic_poll, NULL); g_timeout_add (100, (GSourceFunc) finish_boot, NULL); - if (globals.Flash.vxi_enabled) { +// if (globals.Flash.vxi_enabled) { +// always enable vxi now GThread *vxithread =g_thread_create(vxithreadfunc, NULL, FALSE, NULL); if(vxithread == NULL) { printf("Couldn't create vxi thread\n"); } - } +// } g_main_loop_run (loop); |