Обновление
This commit is contained in:
parent
585f7b57c0
commit
4fa7491ae6
5
Lins.c
5
Lins.c
|
|
@ -8,13 +8,14 @@
|
||||||
|
|
||||||
tLinPorts LIN_PORTS;
|
tLinPorts LIN_PORTS;
|
||||||
|
|
||||||
const uint8_t classicPID[19] = {
|
const uint8_t classicPID[20] = {
|
||||||
CFR_INI,
|
CFR_INI,
|
||||||
CFR_SET,
|
CFR_SET,
|
||||||
CFR_MOD,
|
CFR_MOD,
|
||||||
CFR_ADR,
|
CFR_ADR,
|
||||||
CFR_PRG,
|
CFR_PRG,
|
||||||
DFR_PRG,
|
DFR_PRG,
|
||||||
|
RFR_PRG,
|
||||||
RFR_ISSR1,
|
RFR_ISSR1,
|
||||||
RFR_ISSR2,
|
RFR_ISSR2,
|
||||||
RFR_ISSR3,
|
RFR_ISSR3,
|
||||||
|
|
@ -29,7 +30,7 @@ const uint8_t classicPID[19] = {
|
||||||
DFR_IDE,
|
DFR_IDE,
|
||||||
RFR_IDE
|
RFR_IDE
|
||||||
};
|
};
|
||||||
#define numOfClassicPID 19
|
#define numOfClassicPID 20
|
||||||
|
|
||||||
static void Lin0CallbackHandler(uint8_t u8LinIndex, void *state) {
|
static void Lin0CallbackHandler(uint8_t u8LinIndex, void *state) {
|
||||||
LIN_PORTS.lin0.LinExtCallbackHandler(LIN_PORTS.lin0.envCallExtBack, u8LinIndex, state);
|
LIN_PORTS.lin0.LinExtCallbackHandler(LIN_PORTS.lin0.envCallExtBack, u8LinIndex, state);
|
||||||
|
|
|
||||||
1
Lins.h
1
Lins.h
|
|
@ -13,6 +13,7 @@
|
||||||
#define CFR_ADR 0x17
|
#define CFR_ADR 0x17
|
||||||
#define CFR_PRG 0x28
|
#define CFR_PRG 0x28
|
||||||
#define DFR_PRG 0x18
|
#define DFR_PRG 0x18
|
||||||
|
#define RFR_PRG 0x20
|
||||||
#define RFR_ISSR1 0x01
|
#define RFR_ISSR1 0x01
|
||||||
#define RFR_ISSR2 0x02
|
#define RFR_ISSR2 0x02
|
||||||
#define RFR_ISSR3 0x03
|
#define RFR_ISSR3 0x03
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue