From 4fa7491ae6df4eb9177d7907e678ce6f05b71ddb Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 25 Nov 2025 16:18:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lins.c | 5 +++-- Lins.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Lins.c b/Lins.c index 7d12b65..2c447d6 100644 --- a/Lins.c +++ b/Lins.c @@ -8,13 +8,14 @@ tLinPorts LIN_PORTS; -const uint8_t classicPID[19] = { +const uint8_t classicPID[20] = { CFR_INI, CFR_SET, CFR_MOD, CFR_ADR, CFR_PRG, DFR_PRG, + RFR_PRG, RFR_ISSR1, RFR_ISSR2, RFR_ISSR3, @@ -29,7 +30,7 @@ const uint8_t classicPID[19] = { DFR_IDE, RFR_IDE }; -#define numOfClassicPID 19 +#define numOfClassicPID 20 static void Lin0CallbackHandler(uint8_t u8LinIndex, void *state) { LIN_PORTS.lin0.LinExtCallbackHandler(LIN_PORTS.lin0.envCallExtBack, u8LinIndex, state); diff --git a/Lins.h b/Lins.h index f9d32b6..f886e53 100644 --- a/Lins.h +++ b/Lins.h @@ -13,6 +13,7 @@ #define CFR_ADR 0x17 #define CFR_PRG 0x28 #define DFR_PRG 0x18 +#define RFR_PRG 0x20 #define RFR_ISSR1 0x01 #define RFR_ISSR2 0x02 #define RFR_ISSR3 0x03