This commit is contained in:
cfif 2026-05-19 16:47:01 +03:00
parent c25a8098af
commit b14c25bc1e
1 changed files with 0 additions and 8 deletions

View File

@ -27,14 +27,6 @@ typedef enum
LIN_TIMEOUT, /*!< RX overflow occurred */
} lin_event_id_t;
typedef struct __attribute__((packed)) {
uint8_t id; // ID команды (0-63)
uint8_t dataLen; // Длина данных (0-8)
uint8_t data[8]; // Массив данных
uint8_t checksum; // Контрольная сумма
lin_event_id_t event; // Событие/статус приема
} lin_frame_t;
typedef enum {
LIN_DIRECTION_GET = 0,
LIN_DIRECTION_SET = 1