Don't flash blue LED when connected to bluetooth
This commit is contained in:
parent
8263b4e2c2
commit
0b58ae6cb2
1 changed files with 5 additions and 14 deletions
|
@ -173,24 +173,15 @@ int app_status_indication_set(APP_STATUS_INDICATION_T status) {
|
||||||
app_pwl_start(APP_PWL_ID_1);
|
app_pwl_start(APP_PWL_ID_1);
|
||||||
break;
|
break;
|
||||||
case APP_STATUS_INDICATION_CONNECTED:
|
case APP_STATUS_INDICATION_CONNECTED:
|
||||||
cfg0.part[0].level = 1;
|
cfg0.part[0].level = 0;
|
||||||
cfg0.part[0].time = (500);
|
cfg0.part[0].time = (500);
|
||||||
cfg0.part[1].level = 0;
|
cfg0.parttotal = 1;
|
||||||
cfg0.part[1].time = (3000);
|
cfg0.startlevel = 0;
|
||||||
cfg0.parttotal = 2;
|
cfg0.periodic = false;
|
||||||
cfg0.startlevel = 1;
|
|
||||||
cfg0.periodic = true;
|
|
||||||
|
|
||||||
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_setup(APP_PWL_ID_0, &cfg0);
|
||||||
app_pwl_start(APP_PWL_ID_0);
|
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);
|
app_pwl_start(APP_PWL_ID_1);
|
||||||
break;
|
break;
|
||||||
case APP_STATUS_INDICATION_CHARGING:
|
case APP_STATUS_INDICATION_CHARGING:
|
||||||
|
|
Loading…
Reference in a new issue