summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r--cmd/sbc_harness/main.c5
1 files changed, 2 insertions, 3 deletions
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 <libcr/coroutine.h>
#include <libusb/usb_common.h>
+#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();