diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-20 23:36:27 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-20 23:36:27 -0400 |
commit | 02584a4549d9edbf4bb07d1c0b0de3566031f20f (patch) | |
tree | ab9f042dc1756f263796fd05f5134553b5eeab12 | |
parent | 872490455b14cd0adc10abb3125ac7b5ff8b4acd (diff) |
Minor prep for settings loading, once working.
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,7 @@ #include <zephyr.h> #include <device.h> #include <devicetree.h> +#include <settings/settings.h> #include <zmk/matrix.h> #include <zmk/kscan.h> @@ -25,6 +26,11 @@ void main(void) if (zmk_endpoints_init()) { + printk("ENDPOINT INIT FAILED\n"); return; } + +#ifdef CONFIG_SETTINGS + settings_load(); +#endif } |