CanMsgDelete

Description

This function checks, if a CAN message is in use. If yes, the CAN message will be removed from the used list and put back to the free list.

Prototype

CPU_INT16S CanMsgDelete(CPU_INT16S  msgId);

Parameter

Meaning

msgId

Unique message identifier

Return Value

One of the following error codes is returned: CAN_ERR_NONE, CAN_ERR_MSGID or CAN_ERR_NULLPTR.