aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/canbus.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-02-09 18:37:44 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-02-09 18:51:03 -0500
commit8666a724db6785108e4fc997830e3c69219d4a46 (patch)
treeb982dc5f2799b9fb11571e3223d5b7b1132729d7 /src/generic/canbus.c
parent5c4cf5455720ee3f0a0c69174d08f7ef2d3f4e83 (diff)
downloadkutter-8666a724db6785108e4fc997830e3c69219d4a46.tar.gz
kutter-8666a724db6785108e4fc997830e3c69219d4a46.tar.xz
kutter-8666a724db6785108e4fc997830e3c69219d4a46.zip
canbus: Call can_notify_rx() at startup so low-level code does not need to
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/generic/canbus.c')
-rw-r--r--src/generic/canbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/generic/canbus.c b/src/generic/canbus.c
index 50cc50bc..80d0e462 100644
--- a/src/generic/canbus.c
+++ b/src/generic/canbus.c
@@ -213,6 +213,7 @@ void
canbus_set_uuid(void *uuid)
{
memcpy(canbus_uuid, uuid, sizeof(canbus_uuid));
+ canbus_notify_rx();
// Send initial message
can_process_uuid(0, 0, NULL);