diff --git a/components/BAROS32 b/components/BAROS32 index f7cd159..3123607 160000 --- a/components/BAROS32 +++ b/components/BAROS32 @@ -1 +1 @@ -Subproject commit f7cd159a1df5cc2732444072819e55bacf1887ca +Subproject commit 312360707d54820ce1e16026d47c22e2eb49a9b7 diff --git a/main/main.c b/main/main.c index 7e67412..4c70180 100644 --- a/main/main.c +++ b/main/main.c @@ -113,11 +113,12 @@ void app_main(void) { uint8_t ret = cfglr_init(configulator); - baros_ble_cfg_t ble_cfg = { + baros_cfg_t cfg = { .name = name, + .role = BAROS_ROLE_BACK }; - baros_ble_init(&ble_cfg); + baros_init(&cfg); user_button_init(); pumps_init();