|
|
@@ -2157,6 +2157,7 @@ static void Control_Clear_thread_entry(void *parameter)
|
|
|
{
|
|
|
while(1)
|
|
|
{
|
|
|
+ if(device_status.update_flag==1) break;
|
|
|
if(device_status.clear_status==1)
|
|
|
{
|
|
|
if(device_status.version_type==41){
|
|
|
@@ -2177,6 +2178,7 @@ static void Control_Heat_thread_entry(void *parameter)
|
|
|
static int process = 0;
|
|
|
while(1)
|
|
|
{
|
|
|
+ if(device_status.update_flag==1) break;
|
|
|
if(device_status.work_status==1&&device_status.heat_sw==1)
|
|
|
{
|
|
|
ctr_lamp(ON, 1);
|
|
|
@@ -2226,6 +2228,7 @@ static void thread_485_play_entry(void *param)
|
|
|
}
|
|
|
while(1)
|
|
|
{
|
|
|
+ if(device_status.update_flag==1) break;
|
|
|
//等待事件
|
|
|
if(rt_event_recv(event_485_play, 0x01, RT_EVENT_FLAG_OR|RT_EVENT_FLAG_CLEAR, RT_WAITING_FOREVER, &e)==RT_EOK)
|
|
|
{
|