From 11f767e336acf6d2be3ee1f3c795a311fda226fe Mon Sep 17 00:00:00 2001 From: morgan Date: Tue, 4 Aug 2026 17:20:36 -0700 Subject: [PATCH] move to new BAROS init --- components/BAROS32 | 2 +- main/main.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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();