From 02584a4549d9edbf4bb07d1c0b0de3566031f20f Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 20 May 2020 23:36:27 -0400 Subject: [PATCH] Minor prep for settings loading, once working. --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.c b/src/main.c index 00a1cd0d..ecfbd56a 100644 --- a/src/main.c +++ b/src/main.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -25,6 +26,11 @@ void main(void) if (zmk_endpoints_init()) { + printk("ENDPOINT INIT FAILED\n"); return; } + +#ifdef CONFIG_SETTINGS + settings_load(); +#endif }