Skip to content

Commit 0d87a0c

Browse files
committed
fix: udp bridge using tcp method
1 parent cd023d5 commit 0d87a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/udp_bridge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class BridgeUDP final: public UDP {
257257
k_mutex_lock(&udp_mutex, K_FOREVER);
258258

259259
MsgPack::arr_t<uint8_t> message;
260-
RpcResult async_res = bridge->call(TCP_READ_METHOD, connection_id, size);
260+
RpcResult async_res = bridge->call(UDP_READ_METHOD, connection_id, size);
261261
const bool ret = _connected && async_res.result(message);
262262

263263
if (ret) {

0 commit comments

Comments
 (0)