Обновление

This commit is contained in:
cfif 2026-01-20 17:40:50 +03:00
parent 82e4f4adc6
commit bc6af4e415
1 changed files with 7 additions and 2 deletions

View File

@ -7,11 +7,16 @@
#include "CanSerialPortFrame.h"
#define PROTOCOL_XCP_ID 0x23
#define PROTOCOL_CAN_RAW 0
#define PROTOCOL_CAN_XCP 1
#define PROTOCOL_CAN_ADR_XCP 0x250
#define PROTOCOL_CAN_TYPE_XCP 0x00
#define PROTOCOL_CAN_UDS 2
#define PROTOCOL_CAN_ADR_UDS 0x7BB
#define PROTOCOL_CAN_TYPE_UDS 0x00
typedef struct {
tCanSerialPortFrameFlagchip Can0;