Commit f0d9a36c authored by Chun Fan's avatar Chun Fan
Browse files

Fixed building issue on Linux

parent e929c8ad
......@@ -51,6 +51,8 @@
#include "ble_gap.h"
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef __cplusplus
extern "C" {
......@@ -75,7 +77,7 @@ typedef struct
*
* @note This array is used to store keys.
*/
ser_ble_gap_app_keyset_t m_app_keys_table[];
extern ser_ble_gap_app_keyset_t m_app_keys_table[SER_MAX_CONNECTIONS];
/**@brief Sets root context for calls to *_context_create, *_context_destroy, *_context_find
*
......
......@@ -53,8 +53,6 @@
#include <mutex>
ser_ble_gap_app_keyset_t m_app_keys_table[SER_MAX_CONNECTIONS];
void *current_context = nullptr;
std::mutex current_context_mutex;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment