From 5b4e43cebd89c09e7cbd405f4a0dfdb942add4fc Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Sat, 25 Apr 2020 22:41:20 -0400 Subject: Random progress on board + kscan ideas. --- src/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index e487325..21f481a 100644 --- a/src/main.c +++ b/src/main.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "zmk_lib.h" @@ -15,6 +16,7 @@ #define SLEEP_TIME_MS 1000 /* The devicetree node identifier for the "led0" alias. */ +/* #define LED0_NODE DT_ALIAS(led0) #if DT_HAS_NODE(LED0_NODE) @@ -24,7 +26,9 @@ #define FLAGS DT_GPIO_FLAGS(LED0_NODE, gpios) #endif #else +*/ /* A build error here means your board isn't set up to blink an LED. */ +/* #error "Unsupported board: led0 devicetree alias is not defined" #define LED0 "" #define PIN 0 @@ -34,9 +38,12 @@ #define FLAGS 0 #endif +*/ + void main(void) { + /* struct device *dev; bool led_is_on = true; int ret; @@ -50,6 +57,7 @@ void main(void) if (ret < 0) { return; } + */ zmk_run(); // while (1) { -- cgit v1.2.3