Reverted on CAN stuff

This commit is contained in:
2023-07-12 06:04:54 -04:00
parent 1250190ddd
commit 005fd6478c
3 changed files with 5 additions and 147 deletions

View File

@ -1,8 +1,11 @@
#!/bin/sh
lsmod | grep ^pcan
lsmod | grep ^peak
# PCAN
echo "Can0"
modprobe pcan-usb
modprobe pcan
ip link set can0 up type can bitrate 500000
ifconfig can0 up