Skip to content

Commit 7a6b166

Browse files
committed
Merge branch 'realtek-rtl8195am-wifi-headerfile-updates' of https://github.com/M-ichae-l/mbed-os into dev_rollup
2 parents b75aae6 + c97d343 commit 7a6b166

File tree

1 file changed

+8
-0
lines changed
  • targets/TARGET_Realtek/TARGET_AMEBA/sdk/common/api/wifi

1 file changed

+8
-0
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/sdk/common/api/wifi/wifi_ind.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232

3333
#include "wifi_conf.h"
3434

35+
#ifdef __cplusplus
36+
extern "C" {
37+
#endif
38+
3539
typedef void (*rtw_event_handler_t)(char *buf, int buf_len, int flags, void* handler_user_data );
3640

3741
typedef struct
@@ -90,6 +94,10 @@ extern void wifi_reg_event_handler(unsigned int event_cmds, rtw_event_handler_t
9094
*/
9195
extern void wifi_unreg_event_handler(unsigned int event_cmds, rtw_event_handler_t handler_func);
9296

97+
#ifdef __cplusplus
98+
}
99+
#endif
100+
93101
/*\@}*/
94102

95103
#endif //_WIFI_INDICATE_H

0 commit comments

Comments
 (0)