summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/main.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-13 22:28:39 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-13 22:28:39 -0600
commit1427269e8650964713505728eda84bfec1f685e1 (patch)
tree121f2e0113d38d258d8a69a90e0a58e9a870063a /cmd/sbc_harness/main.c
parent7efdc721db9220642778a1183ec24ee2762b8ee8 (diff)
wip
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();