mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
* Add extern C guard blocks to SDK header files #1352 * fixed some extern C blocks in core and libraries
This commit is contained in:
@ -25,6 +25,10 @@
|
||||
#ifndef __SIMPLE_PAIR_H__
|
||||
#define __SIMPLE_PAIR_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
SP_ST_STA_FINISH = 0,
|
||||
SP_ST_AP_FINISH = 0,
|
||||
@ -61,4 +65,8 @@ int simple_pair_set_peer_ref(u8 *peer_mac, u8 *tmp_key, u8 *ex_key);
|
||||
int simple_pair_get_peer_ref(u8 *peer_mac, u8 *tmp_key, u8 *ex_key);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SIMPLE_PAIR_H__ */
|
||||
|
Reference in New Issue
Block a user