1
0
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:
Matthias Ringwald 2023-01-01 23:31:01 +01:00
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;