File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
drivers/bluetooth/custom/rs9116w Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -93,23 +93,17 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME, LOG_LEVEL);
93
93
#define BT_WARN (fmt , ...) LOG_WRN(fmt, ##__VA_ARGS__)
94
94
#define BT_INFO (fmt , ...) LOG_INF(fmt, ##__VA_ARGS__)
95
95
96
-
97
- const char * bt_hex_real (const void * buf , size_t len );
98
-
99
- const char * bt_addr_str_real (const bt_addr_t * addr );
100
-
101
- const char * bt_addr_le_str_real (const bt_addr_le_t * addr );
102
-
103
- const char * bt_uuid_str_real (const struct bt_uuid * uuid );
104
-
105
96
void rsi_connection_cleanup_task (void );
106
97
107
- #define bt_hex (buf , len ) bt_hex_real(buf, len)
108
- #define bt_addr_str (addr ) bt_addr_str_real(addr)
109
- #define bt_addr_le_str (addr ) bt_addr_le_str_real(addr)
110
- #define bt_uuid_str (uuid ) bt_uuid_str_real(uuid)
111
-
112
-
113
98
void rsi_bt_raise_evt (void );
114
99
100
+ /* NOTE: These helper functions encode into a shared buffer. Therefore, the
101
+ * output must be copied/preserved before making subsequent helper function
102
+ * calls.
103
+ */
104
+ const char * bt_hex (const void * buf , size_t len );
105
+ const char * bt_addr_str (const bt_addr_t * addr );
106
+ const char * bt_addr_le_str (const bt_addr_le_t * addr );
107
+ const char * bt_uuid_str (const struct bt_uuid * uuid );
108
+
115
109
#endif
You can’t perform that action at this time.
0 commit comments