From 6126f6a78b14297cefb02f06ba58806767d424b5 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 12:05:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/FP0' into kNet --- Inc/KLink.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Inc/KLink.h b/Inc/KLink.h index d86948c..20a10ef 100644 --- a/Inc/KLink.h +++ b/Inc/KLink.h @@ -85,6 +85,8 @@ KLCmdReadData = 0x35, KLCmdWriteData = 0x36 , + KLCmdStopBlinkLED = 0x4F, + KLCmdBlinkLED = 0x50, KLCmdReadProg = 0x51, KLCmdWriteProg, @@ -93,6 +95,7 @@ KLCmdSaveSysCfg, KLCmdSaveRunStat, KLCmdReadRunStat, + KLCmdClearRunStat, KLCmdEraseFlashPage = 0x61, KLCmdWriteToFlash = 0x62, @@ -131,7 +134,7 @@ extern unsigned char KLBufferIn[16]; extern unsigned char KLBufferOut[16]; -extern unsigned char nKLAddr; +extern unsigned char nKLStationId; extern unsigned char nKLSeq; extern int KLThisuS; @@ -224,7 +227,7 @@ // /* Make a Packet and return Packet Length */ -int KLMakeReqPacket(void * pBuf1,uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData ); +int KLMakeReqPacket(void * pBuf1, uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData ); int KLMakeRplyPacket(void * pBuf1, uchar Dst, uchar Status, uchar nCmd, uchar DataLen, const void *pData ); /* */ -- Gitblit v1.9.1