From 1427269e8650964713505728eda84bfec1f685e1 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 13 Oct 2024 22:28:39 -0600 Subject: wip --- cmd/sbc_harness/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/sbc_harness/main.c') diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index e2b3b15..9f32037 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -11,6 +11,7 @@ #include #include +#include "hw/rp2040_hwspi.h" #include "usb_keyboard.h" COROUTINE hello_world_cr(void *_chan) { @@ -32,8 +33,6 @@ COROUTINE hello_world_cr(void *_chan) { int main() { /* initialization */ stdio_uart_init(); - //gpio_init(PICO_DEFAULT_LED_PIN); - //gpio_set_dir(PICO_DEFAULT_LED_PIN, GPIO_OUT); usb_common_earlyinit(); usb_keyboard_init(); @@ -43,7 +42,7 @@ int main() { coroutine_add(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(hello_world_cr, &keyboard_chan); /* Event loop. */ coroutine_main(); -- cgit v1.2.3-2-g168b