Fix Bluetooth warnings
This commit is contained in:
parent
268bdf19ce
commit
6f5650f82e
|
@ -84,14 +84,6 @@
|
||||||
// All structs in this file are packed
|
// All structs in this file are packed
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
/*
|
|
||||||
* Bluetooth Address Family Protocol Numbers
|
|
||||||
*/
|
|
||||||
#define BTPROTO_HCI 1
|
|
||||||
#define BTPROTO_L2CAP 2
|
|
||||||
#define BTPROTO_RFCOMM 3
|
|
||||||
#define BTPROTO_SCO 4
|
|
||||||
|
|
||||||
/* All sizes are in bytes */
|
/* All sizes are in bytes */
|
||||||
#define BLUETOOTH_BDADDR_SIZE 6
|
#define BLUETOOTH_BDADDR_SIZE 6
|
||||||
|
|
||||||
|
@ -102,9 +94,8 @@
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t b[BLUETOOTH_BDADDR_SIZE];
|
uint8_t b[BLUETOOTH_BDADDR_SIZE];
|
||||||
} bdaddr_t;
|
} bdaddr_t;
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BDADDR_ANY { { 0, 0, 0, 0, 0, 0 } }
|
#define BDADDR_ANY { { 0, 0, 0, 0, 0, 0 } }
|
||||||
|
#endif
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue