mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
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
This commit is contained in:
committed by
Willem Melching
parent
f13c5d74aa
commit
855abbd99e
+2
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user