forked from kofal.net/zmk
Move settings load
This commit is contained in:
13
app/src/settings.c
Normal file
13
app/src/settings.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <kernel.h>
|
||||
#include <settings/settings.h>
|
||||
|
||||
static int zmk_settings_init(struct device *_arg)
|
||||
{
|
||||
return settings_load();
|
||||
}
|
||||
|
||||
SYS_INIT(zmk_settings_init,
|
||||
APPLICATION,
|
||||
CONFIG_APPLICATION_INIT_PRIORITY);
|
||||
Reference in New Issue
Block a user