Update header (#8)

* Fix wrong bit shifts

* Add 'drive::steering_angle' scs
This commit was merged in pull request #8.
This commit is contained in:
Stefano Calabretti
2022-03-07 00:34:36 +01:00
committed by GitHub
parent 4d5c1934a4
commit e764a9ba12
2 changed files with 15 additions and 10 deletions
+8 -3
View File
@@ -27,14 +27,16 @@
*
* Ids scheme:
*
* id | type | subtype
* -----|------|---------
* SCS | 000 | xxxxxxx
* id | type | subtype
* -------|------|---------
* SCS | 000 | xxxxxxx
* DRIVE | 001 | xxxxxxx
*/
typedef enum MmrCanMessageId MmrCanMessageId;
typedef enum {
MMR_CAN_MESSAGE_ID_TYPE_SCS = 0,
MMR_CAN_MESSAGE_ID_TYPE_DRIVE = 1,
} MmrCanMessageIdType;
@@ -90,6 +92,9 @@ enum MmrCanMessageId {
MMR_CAN_MESSAGE_ID_SCS_AM_EBS_TEST,
MMR_CAN_MESSAGE_ID_SCS_AM_INSPECTION = 0x17,
// !SCS
// DRIVE
MMR_CAN_MESSAGE_ID_DRIVE_STEERING_ANGLE = 0x8A,
// !DRIVE
};
#endif // !INC_MMR_CAN_MESSAGE_ID_H_