Skip to content

Commit

Permalink
canopen.c txmsg.cm_hdr.ch_unused no more defined in NuttX
Browse files Browse the repository at this point in the history
  • Loading branch information
robertobucher committed Oct 4, 2024
1 parent 75101a8 commit 8aafa5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeGen/nuttx/devices/canopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void sendMsg(uint16_t ID, uint8_t DATA[], int len)
#ifdef CONFIG_CAN_EXTID
txmsg.cm_hdr.ch_extid = extended;
#endif
txmsg.cm_hdr.ch_unused = 0;
/* txmsg.cm_hdr.ch_unused = 0; */

memcpy(txmsg.cm_data, DATA, len);
#endif
Expand Down

0 comments on commit 8aafa5b

Please sign in to comment.