From df03213660361b1c771f0a3f21b6ddaeaef7763a Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期二, 05 九月 2023 11:44:52 +0800 Subject: [PATCH] add ladder to prog 1 --- KLink1/KLink.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/KLink1/KLink.h b/KLink1/KLink.h index aa61b0a..22c0fb2 100644 --- a/KLink1/KLink.h +++ b/KLink1/KLink.h @@ -226,7 +226,8 @@ volatile unsigned short WorkMode2; volatile unsigned short nBinProgBank; volatile unsigned short nBinProgSize; - unsigned int Reserved2[1]; + unsigned short bLEDFlick; + unsigned short Reserved2[1]; unsigned short CRC1; unsigned short EndSign1; }stRunStat, *pRunStat; @@ -650,7 +651,7 @@ int ReadData(UCHAR nDst, UCHAR nType, USHORT nWordAddr, UCHAR nWordCount, USHORT * nByteRead, USHORT * Values); int WriteData(UCHAR nDst, UCHAR nType, USHORT nWordAddr, UCHAR nWordCount, USHORT * Values); - int GetMode(UCHAR nDst, UCHAR nType); + int GetMode(UCHAR nDst, UCHAR nType, UCHAR* value); int ChangeMode(UCHAR nDst, UCHAR nType); int BlinkLED(UCHAR nDst, UCHAR nSecond); -- Gitblit v1.9.1