From 9bb88037ae08b3a1d1bcc155bfbe0665f3a899e2 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 17 十月 2022 03:20:54 +0800
Subject: [PATCH] Merge branch 'dev1' of file://hasee-k680e/GitBase/F030C8xx_KLink into dev1

---
 Src/PLCfunctions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Src/PLCfunctions.c b/Src/PLCfunctions.c
index 279a3ff..fbee49a 100644
--- a/Src/PLCfunctions.c
+++ b/Src/PLCfunctions.c
@@ -354,6 +354,7 @@
 
 int StartPLC()
 {
+	PLCMem.nScanCount = 0;
 	for (int i=0;i<1024;i++){PLCMem.ProgTrace[i]=0;}
 	for (int i=0;i<16;i++)	{
 		KMem.WR[i]=0;

--
Gitblit v1.9.1