diff --git a/ios/RetroArch/input/BTStack/btstack/btstack.h b/ios/RetroArch/input/BTStack/btstack/btstack.h index 4c866dc7f9..03c02a0fb2 100644 --- a/ios/RetroArch/input/BTStack/btstack/btstack.h +++ b/ios/RetroArch/input/BTStack/btstack/btstack.h @@ -40,9 +40,9 @@ #pragma once -#include -#include -#include +#include "hci_cmds.h" +#include "run_loop.h" +#include "utils.h" #include diff --git a/ios/RetroArch/input/BTStack/btstack/btstack_memory.c b/ios/RetroArch/input/BTStack/btstack/btstack_memory.c index b832ef8d6f..9e3e7b9a10 100644 --- a/ios/RetroArch/input/BTStack/btstack/btstack_memory.c +++ b/ios/RetroArch/input/BTStack/btstack/btstack_memory.c @@ -44,7 +44,7 @@ */ #include "btstack_memory.h" -#include +#include "memory_pool.h" #include diff --git a/ios/RetroArch/input/BTStack/btstack/daemon.c b/ios/RetroArch/input/BTStack/btstack/daemon.c index 77014f91ec..c4ef78c9e7 100644 --- a/ios/RetroArch/input/BTStack/btstack/daemon.c +++ b/ios/RetroArch/input/BTStack/btstack/daemon.c @@ -54,9 +54,9 @@ #include -#include -#include -#include +#include "btstack.h" +#include "linked_list.h" +#include "run_loop.h" #include "debug.h" #include "hci.h" diff --git a/ios/RetroArch/input/BTStack/btstack/hci.c b/ios/RetroArch/input/BTStack/btstack/hci.c index 5a48838d01..37a2dd5c42 100644 --- a/ios/RetroArch/input/BTStack/btstack/hci.c +++ b/ios/RetroArch/input/BTStack/btstack/hci.c @@ -51,14 +51,14 @@ #ifndef EMBEDDED #include // gethostbyname -#include +#include "version.h" #endif #include "btstack_memory.h" #include "debug.h" #include "hci_dump.h" -#include +#include "hci_cmds.h" #define HCI_CONNECTION_TIMEOUT_MS 10000 diff --git a/ios/RetroArch/input/BTStack/btstack/hci_cmds.c b/ios/RetroArch/input/BTStack/btstack/hci_cmds.c index b517815ff7..638c440b9c 100644 --- a/ios/RetroArch/input/BTStack/btstack/hci_cmds.c +++ b/ios/RetroArch/input/BTStack/btstack/hci_cmds.c @@ -40,11 +40,11 @@ * Created by Matthias Ringwald on 7/23/09. */ -#include +#include "hci_cmds.h" #include -#include +#include "sdp_util.h" #include "config.h" #include "hci.h" diff --git a/ios/RetroArch/input/BTStack/btstack/hci_transport_h4_ehcill_dma.c b/ios/RetroArch/input/BTStack/btstack/hci_transport_h4_ehcill_dma.c index fec101b527..29f550face 100644 --- a/ios/RetroArch/input/BTStack/btstack/hci_transport_h4_ehcill_dma.c +++ b/ios/RetroArch/input/BTStack/btstack/hci_transport_h4_ehcill_dma.c @@ -54,11 +54,9 @@ #include "hci.h" #include "hci_dump.h" #include "hci_transport.h" -#include +#include "run_loop.h" -#include - -// #define DUMP +#include "hal_uart_dma.h" // eHCILL commands (+interal CTS signal) #define EHCILL_GO_TO_SLEEP_IND 0x030 @@ -316,17 +314,6 @@ static void h4_block_sent(void){ } } -#ifdef DUMP -static void dump(uint8_t *data, uint16_t len){ - int i; - if (len > 5) len = 8; - for (i=0; i +#include "linked_list.h" #include /** * tests if list is empty diff --git a/ios/RetroArch/input/BTStack/btstack/memory_pool.c b/ios/RetroArch/input/BTStack/btstack/memory_pool.c index 9ab94a8c2a..75f1b6a8be 100644 --- a/ios/RetroArch/input/BTStack/btstack/memory_pool.c +++ b/ios/RetroArch/input/BTStack/btstack/memory_pool.c @@ -43,7 +43,7 @@ * */ -#include +#include "memory_pool.h" #include typedef struct node { diff --git a/ios/RetroArch/input/BTStack/btstack/rfcomm.c b/ios/RetroArch/input/BTStack/btstack/rfcomm.c index 1c3516c736..9e9b0ba19d 100644 --- a/ios/RetroArch/input/BTStack/btstack/rfcomm.c +++ b/ios/RetroArch/input/BTStack/btstack/rfcomm.c @@ -43,11 +43,11 @@ #include // memcpy #include -#include -#include -#include +#include "btstack.h" +#include "hci_cmds.h" +#include "utils.h" -#include +#include "utils.h" #include "btstack_memory.h" #include "hci.h" #include "hci_dump.h" diff --git a/ios/RetroArch/input/BTStack/btstack/run_loop.c b/ios/RetroArch/input/BTStack/btstack/run_loop.c index 59ed77edff..9b66f043d2 100644 --- a/ios/RetroArch/input/BTStack/btstack/run_loop.c +++ b/ios/RetroArch/input/BTStack/btstack/run_loop.c @@ -40,7 +40,7 @@ * Created by Matthias Ringwald on 6/6/09. */ -#include +#include "run_loop.h" #include #include // exit() diff --git a/ios/RetroArch/input/BTStack/btstack/run_loop.h b/ios/RetroArch/input/BTStack/btstack/run_loop.h index b5b9a29b3b..d344a320b1 100644 --- a/ios/RetroArch/input/BTStack/btstack/run_loop.h +++ b/ios/RetroArch/input/BTStack/btstack/run_loop.h @@ -39,7 +39,7 @@ #include "config.h" -#include +#include "linked_list.h" #include diff --git a/ios/RetroArch/input/BTStack/btstack/run_loop_embedded.c b/ios/RetroArch/input/BTStack/btstack/run_loop_embedded.c index 4ed5a9cac9..3134d2f2d9 100644 --- a/ios/RetroArch/input/BTStack/btstack/run_loop_embedded.c +++ b/ios/RetroArch/input/BTStack/btstack/run_loop_embedded.c @@ -52,10 +52,10 @@ */ -#include -#include -#include -#include +#include "run_loop.h" +#include "linked_list.h" +#include "hal_tick.h" +#include "hal_cpu.h" #include "run_loop_private.h" #include "debug.h" diff --git a/ios/RetroArch/input/BTStack/btstack/run_loop_posix.c b/ios/RetroArch/input/BTStack/btstack/run_loop_posix.c index 5ea30ace06..add6586f9a 100644 --- a/ios/RetroArch/input/BTStack/btstack/run_loop_posix.c +++ b/ios/RetroArch/input/BTStack/btstack/run_loop_posix.c @@ -40,8 +40,8 @@ * Created by Matthias Ringwald on 6/6/09. */ -#include -#include +#include "run_loop.h" +#include "linked_list.h" #include "debug.h" #include "run_loop_private.h" diff --git a/ios/RetroArch/input/BTStack/btstack/sdp_util.c b/ios/RetroArch/input/BTStack/btstack/sdp_util.c index 803e9e0626..de9aac017b 100644 --- a/ios/RetroArch/input/BTStack/btstack/sdp_util.c +++ b/ios/RetroArch/input/BTStack/btstack/sdp_util.c @@ -38,8 +38,8 @@ * sdp_util.c */ -#include -#include +#include "sdp_util.h" +#include "utils.h" #include #include diff --git a/ios/RetroArch/input/BTStack/btstack/socket_connection.c b/ios/RetroArch/input/BTStack/btstack/socket_connection.c index 25af85be20..29e5856634 100644 --- a/ios/RetroArch/input/BTStack/btstack/socket_connection.c +++ b/ios/RetroArch/input/BTStack/btstack/socket_connection.c @@ -50,7 +50,7 @@ #include "config.h" -#include +#include "btstack.h" #include #include diff --git a/ios/RetroArch/input/BTStack/btstack/utils.c b/ios/RetroArch/input/BTStack/btstack/utils.c index 395dd62f7e..a8a607eea7 100644 --- a/ios/RetroArch/input/BTStack/btstack/utils.c +++ b/ios/RetroArch/input/BTStack/btstack/utils.c @@ -43,7 +43,7 @@ */ #include "config.h" -#include +#include "utils.h" #include #include "debug.h"