summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-24 18:22:16 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-24 18:22:16 -0400
commited5532bf94e93d25e35498cfd7a9040b0c69597b (patch)
tree9ed29552fb54e94ecc2062f0db3b6321d24b7c4a /src/main.c
parent9d5de4e9229ad363a54bbcab0a6a60b07d5f19f5 (diff)
Add a mock kscan driver, working native_posix.
* Unified logging to one module. * Mock kscan driver that simulates events. * Working native_posix board target for testing.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index ecfbd56..1ced310 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,6 +9,9 @@
#include <devicetree.h>
#include <settings/settings.h>
+#include <logging/log.h>
+LOG_MODULE_REGISTER(zmk, CONFIG_ZMK_LOG_LEVEL);
+
#include <zmk/matrix.h>
#include <zmk/kscan.h>
#include <zmk/endpoints.h>