Skip to content

Commit 73225d9

Browse files
committed
a variation of bad.
1 parent f4295a3 commit 73225d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/pbio/drv/ioport/ioport_pup.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ PROCESS_THREAD(test_process, ev, data) {
7070

7171
etimer_set(&timer, 1000);
7272

73-
PROCESS_WAIT_EVENT_UNTIL(ev == PROCESS_EVENT_TIMER && etimer_expired(&timer));
73+
// And with this change it still doesn't work after connect, but it
74+
// does get going when you kick it with an event like starting REPL.
75+
76+
PROCESS_WAIT_EVENT_UNTIL(/*ev == PROCESS_EVENT_TIMER &&*/ etimer_expired(&timer));
7477

7578
printf("Hello, world\n");
7679
}

0 commit comments

Comments
 (0)