From 0b58ae6cb2baa594e42e7bc61531300b9341b134 Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Sun, 19 Feb 2023 19:48:11 +0100 Subject: [PATCH] Don't flash blue LED when connected to bluetooth --- config/_default_cfg_src_/app_status_ind.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/config/_default_cfg_src_/app_status_ind.c b/config/_default_cfg_src_/app_status_ind.c index 6b6d2e2..fd7c97d 100644 --- a/config/_default_cfg_src_/app_status_ind.c +++ b/config/_default_cfg_src_/app_status_ind.c @@ -173,24 +173,15 @@ int app_status_indication_set(APP_STATUS_INDICATION_T status) { app_pwl_start(APP_PWL_ID_1); break; case APP_STATUS_INDICATION_CONNECTED: - cfg0.part[0].level = 1; + cfg0.part[0].level = 0; cfg0.part[0].time = (500); - cfg0.part[1].level = 0; - cfg0.part[1].time = (3000); - cfg0.parttotal = 2; - cfg0.startlevel = 1; - cfg0.periodic = true; + cfg0.parttotal = 1; + cfg0.startlevel = 0; + cfg0.periodic = false; - cfg1.part[0].level = 0; - cfg1.part[0].time = (500); - cfg1.part[1].level = 0; - cfg1.part[1].time = (3000); - cfg1.parttotal = 2; - cfg1.startlevel = 0; - cfg1.periodic = true; app_pwl_setup(APP_PWL_ID_0, &cfg0); app_pwl_start(APP_PWL_ID_0); - app_pwl_setup(APP_PWL_ID_1, &cfg1); + app_pwl_setup(APP_PWL_ID_1, &cfg0); app_pwl_start(APP_PWL_ID_1); break; case APP_STATUS_INDICATION_CHARGING: