summaryrefslogtreecommitdiff
path: root/fw/app/src/boot-count.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/app/src/boot-count.c')
-rw-r--r--fw/app/src/boot-count.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/fw/app/src/boot-count.c b/fw/app/src/boot-count.c
deleted file mode 100644
index 0b944e2..0000000
--- a/fw/app/src/boot-count.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This Source Code Form is subject to the terms of the Mozilla Public License,
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
- * obtain one at https://mozilla.org/MPL/2.0/.
- */
-
-
-#include <zephyr/init.h>
-#include <zephyr/logging/log.h>
-#include <zephyr/settings/settings.h>
-
-
-LOG_MODULE_REGISTER(boot_count);
-
-
-int init_settings(void) {
- int ret = settings_subsys_init();
- if (ret < 0) {
- LOG_ERR("Failed to init settings subsystem (%d)", ret);
- return ret;
- }
- LOG_INF("Settings subsystem initialized");
-
- return 0;
-}
-SYS_INIT(init_settings, APPLICATION, 50);