Add SCS manager

bozza
This commit is contained in:
Nicola Gutierrez
2022-02-17 17:22:27 +01:00
parent 4ac0afc010
commit 607817389c
5 changed files with 115 additions and 36 deletions
+6
View File
@@ -1,4 +1,5 @@
#include "mmr_can.h"
#include "mmr_can_scs_manager.h"
HalStatus MMR_CAN_SendSCS(
@@ -16,6 +17,11 @@ HalStatus MMR_CAN_SendSCS(
.mailbox = mailbox,
.length = 0,
};
if(!MMR_CAN_SetRTRresponse())
{
// do something
}
return MMR_CAN_Send(hcan, packet);
}