summaryrefslogtreecommitdiff
path: root/include/context_bte.h
diff options
context:
space:
mode:
authorElijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>2024-10-16 15:36:02 -0400
committerGitHub <noreply@github.com>2024-10-16 15:36:02 -0400
commit26af4db82da23364961ebb440efba88846240731 (patch)
tree9cfe6a427cfe59c13c64928ccef6ba3c5ccfec21 /include/context_bte.h
parent4543ec129ec02649b24ae0e20d8325a5f066c9b1 (diff)
update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
Diffstat (limited to 'include/context_bte.h')
-rw-r--r--include/context_bte.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/context_bte.h b/include/context_bte.h
index fcb17b14..6e0eb7ca 100644
--- a/include/context_bte.h
+++ b/include/context_bte.h
@@ -1,7 +1,7 @@
#ifndef CONTEXT_BTE_H
#define CONTEXT_BTE_H
-#include <MSL_C/stdint.h>
+#include "stdint.h"
/* Contains the context of the BTE library that the WPAD library needs to
* compile.
@@ -743,7 +743,11 @@ typedef struct {
** has detected that the controller status has changed. This asynchronous event
** is enabled/disabled by calling BTM_RegisterForDeviceStatusNotif().
*/
-enum { BTM_DEV_STATUS_UP, BTM_DEV_STATUS_DOWN, BTM_DEV_STATUS_CMD_TOUT };
+enum {
+ BTM_DEV_STATUS_UP,
+ BTM_DEV_STATUS_DOWN,
+ BTM_DEV_STATUS_CMD_TOUT
+};
typedef UINT8 tBTM_DEV_STATUS;
typedef void(tBTM_DEV_STATUS_CB)(tBTM_DEV_STATUS status);
@@ -947,8 +951,10 @@ tBTM_STATUS BTM_WritePageTimeout(UINT16 timeout);
void BTM_SetDefaultLinkPolicy(UINT16 settings);
void BTM_SetDefaultLinkSuperTout(UINT16 timeout);
-BOOLEAN BTM_SecAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, BD_FEATURES features,
- UINT32 trusted_mask[], LINK_KEY link_key);
+BOOLEAN BTM_SecAddDevice(
+ BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, BD_FEATURES features, UINT32 trusted_mask[],
+ LINK_KEY link_key
+);
void *GKI_getbuf(UINT16 size);