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: 855abbd99e
commatwo_master
Arne Schwarck 5 years ago committed by Willem Melching
parent 92a6873977
commit d034708be3
  1. 5
      selfdrive/ui/ui.cc

@ -10,7 +10,6 @@
#include <czmq.h>
#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;

Loading…
Cancel
Save