diff options
Diffstat (limited to 'mycan.c')
-rw-r--r-- | mycan.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,8 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + // references: // https://www.waveshare.com/wiki/RS485_CAN_HAT +// https://files.waveshare.com/upload/4/4e/RS485_CAN_HAT_Code.zip // https://github.com/howerj/dbcc MIT /* build: @@ -22,7 +25,10 @@ cansend vcan0 680#00.FF.02.00.02.00.02.00 #include <stdlib.h> #include <string.h> #include <unistd.h> + +// LGPL-2.1-or-later #include <net/if.h> + #include <sys/ioctl.h> #include <sys/socket.h> |