Minor prep for settings loading, once working.
This commit is contained in:
parent
872490455b
commit
02584a4549
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
#include <zephyr.h>
|
#include <zephyr.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <devicetree.h>
|
#include <devicetree.h>
|
||||||
|
#include <settings/settings.h>
|
||||||
|
|
||||||
#include <zmk/matrix.h>
|
#include <zmk/matrix.h>
|
||||||
#include <zmk/kscan.h>
|
#include <zmk/kscan.h>
|
||||||
|
@ -25,6 +26,11 @@ void main(void)
|
||||||
|
|
||||||
if (zmk_endpoints_init())
|
if (zmk_endpoints_init())
|
||||||
{
|
{
|
||||||
|
printk("ENDPOINT INIT FAILED\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_SETTINGS
|
||||||
|
settings_load();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue