From 355f8f18270d38e627cd3866c242dad860f2bed5 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 30 Jul 2020 16:04:13 -0700 Subject: [PATCH] more cdef --- messaging/messaging_pyx.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/messaging/messaging_pyx.pyx b/messaging/messaging_pyx.pyx index 24324c6..c2aea0d 100644 --- a/messaging/messaging_pyx.pyx +++ b/messaging/messaging_pyx.pyx @@ -226,7 +226,7 @@ cdef class SubMaster: cdef vector[string] msgs = self._update(timeout) self.update_msgs(sec_since_boot(), msgs) - cpdef _update(self, int timeout): + cdef _update(self, int timeout): cdef vector[string] msgs with nogil: result = self.poller.poll(timeout) @@ -236,7 +236,7 @@ cdef class SubMaster: msgs.push_back(string(msg.getData(), msg.getSize())) return msgs - cpdef update_msgs(self, float cur_time, vector[string] msgs): + cdef update_msgs(self, float cur_time, vector[string] msgs): self.frame += 1 self.updated = dict.fromkeys(self.updated, False) for msg in msgs: