mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 18:41:12 +00:00
example/a2dp_sink_demo: cleanup console interface
This commit is contained in:
parent
4ab2ed49bb
commit
e22dfdb8aa
@ -795,18 +795,15 @@ static void show_usage(void){
|
||||
#ifdef HAVE_BTSTACK_STDIN
|
||||
static void stdin_process(char cmd){
|
||||
uint8_t status = ERROR_CODE_SUCCESS;
|
||||
printf("stdin_process \n");
|
||||
if (!avrcp_connected){
|
||||
switch (cmd){
|
||||
case 'b':
|
||||
case 'B':
|
||||
case 'c':
|
||||
break;
|
||||
default:
|
||||
printf("Command '%c' cannot be performed - please use 'c' to establish an AVRCP connection with device (addr %s).\n", cmd, bd_addr_to_str(device_addr));
|
||||
printf("Not connected. Please use 'c' to establish an AVRCP connection with device (addr %s).\n", cmd, bd_addr_to_str(device_addr));
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
switch (cmd){
|
||||
|
Loading…
x
Reference in New Issue
Block a user