diff --git a/applications/core.c b/applications/core.c index 53dab3a..d68bd87 100644 --- a/applications/core.c +++ b/applications/core.c @@ -279,7 +279,6 @@ void timerIsReady(void) void fileIsReady(void) { rt_event_send(&chkSta, FILE_IS_OK); - isFileMode = 1; stopTM(); } void TTIsReady(void) @@ -723,11 +722,13 @@ void deInitTT_thread_entry() clearWindowMode(); setManualWindow(-1); setWorkSta(0); + isFileMode=0; LOG_W("shunt down TT DONE"); } // initThread = RT_NULL; deinitThread = RT_NULL; + pwTT_thread_entry("0"); // list_thread(); } @@ -743,6 +744,7 @@ void initTT() } set3SRTC(); setWorkSta(1); + isFileMode=1; initThread = rt_thread_create("initTT", initTT_thread_entry, RT_NULL, 1024 * 5, 25, 10); /* 创建成功则启动线程 */ if (initThread != RT_NULL) diff --git a/applications/usrcfg.h b/applications/usrcfg.h index cb2ad67..530be2e 100644 --- a/applications/usrcfg.h +++ b/applications/usrcfg.h @@ -57,8 +57,6 @@ typedef struct uint8_t locAlert; uint8_t locRepInterval; int8_t isMaWin; - uint8_t wljd[40];//围栏jd,支持15个点 - uint8_t wlwd[40];//围栏wd } SYS_CFG;