* Rewritten for new CAN queues by Pavel Pisa - OCERA team member
* email:pisa@cmp.felk.cvut.cz
* This software is released under the GPL-License.
- * Version lincan-0.2 9 Jul 2003
+ * Version lincan-0.3 17 Jun 2004
*/
#include "../include/can.h"
if(pmsgobj->tx_slot){
/* Do local transmitted message distribution if enabled */
if (processlocal){
+ /* fill CAN message timestamp */
+ can_filltimestamp(&pmsgobj->tx_slot->msg.timestamp);
+
pmsgobj->tx_slot->msg.flags |= MSG_LOCAL;
canque_filter_msg2edges(pmsgobj->qends, &pmsgobj->tx_slot->msg);
}
for ( i=0; i < pmsgobj->rx_msg.length; i++ )
DEBUGMSG(" data[%d] = 0x%.2x\n", i, pmsgobj->rx_msg.data[i]);
+ /* fill CAN message timestamp */
+ can_filltimestamp(&pmsgobj->rx_msg.timestamp);
+
canque_filter_msg2edges(pmsgobj->qends, &pmsgobj->rx_msg);
#ifdef CAN_WITH_STATISTICS