summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flash.c2
-rw-r--r--globals.h2
-rw-r--r--instr-daemon.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/flash.c b/flash.c
index 4be7c55..8a14c4f 100644
--- a/flash.c
+++ b/flash.c
@@ -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;
diff --git a/globals.h b/globals.h
index f8379ee..0ecb22b 100644
--- a/globals.h
+++ b/globals.h
@@ -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);