diff options
author | 2018-06-14 15:08:30 +0900 | |
---|---|---|
committer | 2018-06-14 15:43:57 +0900 | |
commit | 490f8c205ae5c305e53f2ce4d97fcf5041a5105c (patch) | |
tree | eb52b1e715aa35c7a60028b2b9e00cc523a915a6 | |
parent | f41f495ce081f0340775741539cbb8cecd39e924 (diff) |
[ALS2018]: enable PWM fan demo by lin transceiversandbox/harunobu.kurokawa/als2018
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@denso-ten.com>
-rw-r--r-- | binding/hvac-demo-binding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binding/hvac-demo-binding.c b/binding/hvac-demo-binding.c index fdc9afc..cf8e7fb 100644 --- a/binding/hvac-demo-binding.c +++ b/binding/hvac-demo-binding.c @@ -38,7 +38,7 @@ #define GREEN "/sys/class/leds/blinkm-24-9-green/brightness" #include <afb/afb-binding.h> -#define CAN_DEV "vcan0" +#define CAN_DEV "sllin0" #ifndef NULL #define NULL 0 @@ -463,6 +463,7 @@ static int write_can() if(!can_handler.simulation) { + usleep(100000); rc = (int)sendto(can_handler.socket, &txCanFrame, sizeof(struct can_frame), 0, (struct sockaddr*)&can_handler.txAddress, sizeof(can_handler.txAddress)); if (rc < 0) |