moved SETTINGS_RUNTIME to lib

This commit is contained in:
2026-05-19 08:51:37 +02:00
parent 980e23e51a
commit dd51f45084
9 changed files with 85 additions and 93 deletions

View File

@@ -3,6 +3,7 @@
#include <string.h>
#include "buzz_proto.h"
#include "settings_mgmt.h"
// #include "fw_mgmt.h"
// #include "audio.h"
@@ -50,7 +51,7 @@ int main(void)
{
#if IS_ENABLED(CONFIG_BLE_MGMT)
/* BLE-Subsystem initialisieren und RX-Callback registrieren */
int rc = ble_mgmt_init(ble_rx_cb, CONFIG_BLE_MGMT_DEFAULT_DEVICE_NAME);
int rc = ble_mgmt_init(ble_rx_cb, app_cfg.dev_name);
if (rc < 0) {
LOG_ERR("Failed to initialize BLE management: %d", rc);
return rc;