From 95322c84888cbe2e92024d4d65698f59b016cb52 Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期日, 25 二月 2024 12:29:35 +0800 Subject: [PATCH] move some define from Kbus.h to KBusDefine.h --- Ext_FP0/Src/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ext_FP0/Src/main.c b/Ext_FP0/Src/main.c index ab9cc80..23e5367 100644 --- a/Ext_FP0/Src/main.c +++ b/Ext_FP0/Src/main.c @@ -321,7 +321,7 @@ if (KMRunStat.WorkMode2) { StartPLC(); } } - KMem.WX[7]=0x5a; + #if (BOARD_TYPE == 15 || BOARD_TYPE == 16) KWireLessInit(KMem.EffJumperSW&0x20,KMem.EffJumperSW&0x0f); KWireLessStart(); @@ -380,8 +380,8 @@ displayInput(KMem.WX[0]); } us2=GetuS(); +/* if (PowerDownEvent) { KMem.WX[0]=0;} -///* if ((KMem.nRunCount &0x1f) == 0x02) { ADCProcess(); -- Gitblit v1.9.1