From fd7f9059128ccf9578fce123f071abb343aa8b48 Mon Sep 17 00:00:00 2001 From: payton Date: Mon, 11 Dec 2023 19:18:09 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E7=9F=AD=E4=BF=A1=E8=AE=BE?= =?UTF-8?q?=E7=BD=AESendType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/4gMng/sf_sms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/application/source/sf_app/code/source/4gMng/sf_sms.c b/code/application/source/sf_app/code/source/4gMng/sf_sms.c index 255dc0c01..489632da4 100755 --- a/code/application/source/sf_app/code/source/4gMng/sf_sms.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_sms.c @@ -733,7 +733,7 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s //Send Time 2 i++; - if(pPara_sms_saved->SendType != 2) + if(pPara_sms_saved->SendType < 2) { pPara_sms_saved->TimeSend2Switch = 0; pPara_sms_saved->TimeSend2.Hour = 0; @@ -759,7 +759,7 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s #if 1 //Send Time 3 i++; - if(pPara_sms_saved->SendType != 3) + if(pPara_sms_saved->SendType < 3) { pPara_sms_saved->TimeSend3Switch = 0; pPara_sms_saved->TimeSend3.Hour = 0; @@ -785,7 +785,7 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s //Send Time 4 i++; - if(pPara_sms_saved->SendType != 3) + if(pPara_sms_saved->SendType < 4) { pPara_sms_saved->TimeSend4Switch = 0; pPara_sms_saved->TimeSend4.Hour = 0;