Split the conversion of the RTR frame flags from the data contents test as RTR frames do not carry any data. Replace a couple of direct DLC assignments with proper use of can_bytes_to_dlc(). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com> |
||
|---|---|---|
| .. | ||
| main.c | ||