moved SETTINGS_RUNTIME to lib
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user