MCPcopy Create free account
hub / github.com/PolySync/oscc / update_can_array_msg

Function update_can_array_msg

utils/diagnostics_tool/src/can_monitor.c:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68//
69static int update_can_array_msg(
70 const int msg_array_index,
71 const long can_id,
72 const unsigned int msg_dlc,
73 const unsigned int msg_flag,
74 const unsigned char * const buffer )
75{
76 can_msg_array[ msg_array_index ].can_id = can_id;
77
78 return update_can_array_contents(
79 msg_dlc,
80 msg_flag,
81 buffer,
82 &can_msg_array[ msg_array_index ].frame_contents );
83}
84
85
86//

Callers 1

handle_can_rxFunction · 0.85

Calls 1

Tested by

no test coverage detected