Skip to content

Commit de0b065

Browse files
committed
RPC: fix notification reception from RPC.send()
1 parent 0dbcb91 commit de0b065

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: libraries/RPC/src/RPC.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ int RPCClass::rpmsg_recv_callback(struct rpmsg_endpoint *ept, void *data, size_t
5252
uint8_t msgpack_type = ((uint8_t *) data)[1];
5353
switch (msgpack_type) {
5454
case MSGPACK_TYPE_REQUEST:
55+
case MSGPACK_TYPE_NOTIFY:
5556
RPC.request((uint8_t *) data, len);
5657
break;
5758
case MSGPACK_TYPE_RESPONSE:
5859
RPC.response((uint8_t *) data, len);
5960
break;
60-
case MSGPACK_TYPE_NOTIFY:
61-
break;
6261
}
6362

6463
return 0;

0 commit comments

Comments
 (0)