mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-24 13:43:38 +00:00
example/a2dp_source_demo: fix build
This commit is contained in:
parent
065fc9a3d9
commit
0627fe892f
@ -523,7 +523,7 @@ static void hci_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *p
|
||||
|
||||
switch (hci_event_packet_get_type(packet)){
|
||||
#ifndef HAVE_BTSTACK_STDIN
|
||||
case BTSTACK_EVENT_STATE):
|
||||
case BTSTACK_EVENT_STATE:
|
||||
if (btstack_event_state_get_state(packet) != HCI_STATE_WORKING) return;
|
||||
a2dp_source_demo_start_scanning();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user