mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 01:20:44 +00:00
a2dp_sink_demo: prettify output
This commit is contained in:
parent
f386e13436
commit
bf872d3b80
@ -996,7 +996,7 @@ static void stdin_process(char cmd){
|
|||||||
// Volume Control
|
// Volume Control
|
||||||
case 't':
|
case 't':
|
||||||
volume_percentage = volume_percentage <= 90 ? volume_percentage + 10 : volume_percentage;
|
volume_percentage = volume_percentage <= 90 ? volume_percentage + 10 : volume_percentage;
|
||||||
printf(" - volume up for 10 percent, %d%% (%d) \n", volume_percentage, volume_percentage * 127 / 100);
|
printf(" - volume up for 10 percent, %d%% (%d) \n", volume_percentage, volume_percentage * 127 / 100);
|
||||||
status = avrcp_target_volume_changed(avrcp_target_cid, volume_percentage * 127 / 100);
|
status = avrcp_target_volume_changed(avrcp_target_cid, volume_percentage * 127 / 100);
|
||||||
break;
|
break;
|
||||||
case 'T':
|
case 'T':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user