diff options
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r-- | cmd/sbc_harness/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index d015259..85dfdfb 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -86,11 +86,11 @@ int main() { usb_common_lateinit(); /* set up coroutines **************************************************/ - coroutine_add(usb_common_cr, NULL); + coroutine_add("usb_common", usb_common_cr, NULL); usb_keyboard_rpc_t keyboard_chan = {0}; - coroutine_add(usb_keyboard_cr, &keyboard_chan); - //coroutine_add(hello_world_cr, &keyboard_chan); - coroutine_add_with_stack_size(4*1024, dhcp_cr, &dev_w5500); + coroutine_add("usb_keyboard", usb_keyboard_cr, &keyboard_chan); + //coroutine_add("hello_world", hello_world_cr, &keyboard_chan); + coroutine_add_with_stack_size(4*1024, "dhcp", dhcp_cr, &dev_w5500); /* event loop *********************************************************/ coroutine_main(); |