From d034708be3d453ca227a51935b029585e8525d51 Mon Sep 17 00:00:00 2001 From: Arne Schwarck Date: Tue, 21 Jan 2020 20:25:12 +0100 Subject: [PATCH] Subsock no longer exsists (#987) * Subsock no longer exsists use the new SubSocket as SubSock has been removed * fix poller syntax update to the new syntax and remove unused messaging library old-commit-hash: 855abbd99ee39b5b308226c2261fb2c7b1a40c14 --- selfdrive/ui/ui.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 6a36f49198..db28e373c3 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -10,7 +10,6 @@ #include #include "common/util.h" -#include "common/messaging.h" #include "common/timing.h" #include "common/swaglog.h" #include "common/touch.h" @@ -128,9 +127,9 @@ static void ui_init(UIState *s) { }); #ifdef SHOW_SPEEDLIMIT - s->map_data_sock = SubSock::create(s->ctx, "liveMapData"); + s->map_data_sock = SubSocket::create(s->ctx, "liveMapData"); assert(s->map_data_sock != NULL); - s->poller.registerSocket(s->map_data_sock); + s->poller->registerSocket(s->map_data_sock); #endif s->ipc_fd = -1;