Commit e6477b48 authored by 李冠华's avatar 李冠华

🐞 fix:修改反复接到相同的值后误判对比成功的问题

parent 5aecc46b
...@@ -66,10 +66,8 @@ void NVS_Test_Service(void) ...@@ -66,10 +66,8 @@ void NVS_Test_Service(void)
{ {
huifudelayCount = 0u; huifudelayCount = 0u;
if ((TotalExecutionNum != 0U) && (JieShouDaoHistoryVal != JieShouDaoValue)) if (TotalExecutionNum != 0U)
{ {
JieShouDaoHistoryVal = JieShouDaoValue;
if(JieShouDaoValue != LastNum) if(JieShouDaoValue != LastNum)
{ {
if ((JieShouDaoValue == BeforeLastNum) && (BenCiShangDianZhiXingCount == 0U)) if ((JieShouDaoValue == BeforeLastNum) && (BenCiShangDianZhiXingCount == 0U))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment