summaryrefslogtreecommitdiffstats
path: root/binding/hvac-demo-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/hvac-demo-binding.c')
-rw-r--r--binding/hvac-demo-binding.c3
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)