hfp: fix check on legacy vs. enhanced VRA activation

This commit is contained in:
Milanka Ringwald 2021-08-24 11:10:50 +02:00
parent fcf4ede69f
commit 15b7a1173e
2 changed files with 2 additions and 2 deletions

View File

@ -603,7 +603,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t * even
}
switch (hfp_subevent_voice_recognition_activated_get_enhanced(event)){
case 1:
case 0:
printf("\nVoice recognition ACTVATED\n\n");
break;
default:

View File

@ -600,7 +600,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t * even
}
switch (hfp_subevent_voice_recognition_activated_get_enhanced(event)){
case 1:
case 0:
printf("\nVoice recognition ACTIVATED\n\n");
break;
default: