(iOS) Buildfix

This commit is contained in:
Twinaphex 2015-04-03 15:23:35 +02:00
parent a81b944d35
commit 63c42ef39b
2 changed files with 11 additions and 12 deletions

View File

@ -18,7 +18,6 @@
#define __IOS_RARCH_BTDYNAMIC_H__
#include <boolean.h>
#include "btstack/utils.h"
#include "btstack/btstack.h"
bool btstack_try_load(void);

View File

@ -386,7 +386,7 @@ void linked_list_add(linked_list_t * list, linked_item_t *item);
void linked_list_add_tail(linked_list_t * list, linked_item_t *item);
int linked_list_remove(linked_list_t * list, linked_item_t *item)
int linked_list_remove(linked_list_t * list, linked_item_t *item);
linked_item_t * linked_list_get_last_item(linked_list_t * list);
@ -467,22 +467,22 @@ uint32_t embedded_get_ticks(void);
#endif
/* utils.h */
/* Length of a Bluetooth device address. */
#define BD_ADDR_LEN 6
/* The link key type. */
#define LINK_KEY_LEN 16
/* The device name type. */
#define DEVICE_NAME_LEN 248
/* Connection handle type. */
typedef uint16_t hci_con_handle_t;
typedef uint8_t bd_addr_t[BD_ADDR_LEN];
typedef uint8_t link_key_t[LINK_KEY_LEN];
typedef uint8_t device_name_t[DEVICE_NAME_LEN+1];
/* Length of a Bluetooth device address. */
#define BD_ADDR_LEN 6
/* The link key type. */
#define LINK_KEY_LEN 16
/* The device name type. */
#define DEVICE_NAME_LEN 248
typedef uint8_t device_name_t[DEVICE_NAME_LEN+1];
/* helper for BT little endian format. */
#define READ_BT_16( buffer, pos) ( ((uint16_t) buffer[pos]) | (((uint16_t)buffer[pos+1]) << 8))