summaryrefslogtreecommitdiff
path: root/src/class/bth
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-27 18:28:12 +0700
committerGitHub <[email protected]>2024-11-27 18:28:12 +0700
commitdbc2c8d9720593ce4b0bbd0c96b3b91f81ce15bb (patch)
tree628fefa4b1ef471c7cbf109c3dca62563729259f /src/class/bth
parent2732aff7dd328a9f86c990afd7a71df48ae47391 (diff)
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)
* change TUD_EPBUF_TYPE_DEF order * add and fix -Wmissing-prototypes warnings for cmake (skip make)
Diffstat (limited to 'src/class/bth')
-rwxr-xr-xsrc/class/bth/bth_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/bth/bth_device.c b/src/class/bth/bth_device.c
index 5e533cf35..45cbf2d98 100755
--- a/src/class/bth/bth_device.c
+++ b/src/class/bth/bth_device.c
@@ -52,7 +52,7 @@ typedef struct {
typedef struct {
TUD_EPBUF_DEF(epout_buf, CFG_TUD_BTH_DATA_EPSIZE);
- TUD_EPBUF_TYPE_DEF(hci_cmd, bt_hci_cmd_t);
+ TUD_EPBUF_TYPE_DEF(bt_hci_cmd_t, hci_cmd);
} btd_epbuf_t;
//--------------------------------------------------------------------+