Skip to content

Commit 6fec689

Browse files
committed
fix: Bridge.update called only once in setup-spawned thread
1 parent e4319bf commit 6fec689

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bridge.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ static void safeUpdate(){
163163

164164

165165
void updateEntryPoint(void *, void *, void *){
166-
Bridge.update();
166+
while(1){
167+
Bridge.update();
168+
}
167169
}
168170

169171
static k_tid_t upd_tid;

0 commit comments

Comments
 (0)