bugfix for duplicate symbol

Fork of nRF51822 by Nordic Semiconductor

Revision:
137:aafab7b0a8bd
Parent:
111:be2a122ed2f7
Child:
138:750eca573e18
--- a/nRF51Gap.h	Fri May 08 15:33:56 2015 +0100
+++ b/nRF51Gap.h	Fri May 08 15:33:56 2015 +0100
@@ -26,6 +26,7 @@
 
 #include "nrf_soc.h"
 #include "ble_radio_notification.h"
+#include "btle_security.h"
 
 /**************************************************************************/
 /*!
@@ -54,6 +55,8 @@
     virtual ble_error_t stopAdvertising(void);
     virtual ble_error_t disconnect(DisconnectionReason_t reason);
 
+    virtual ble_error_t deleteAllBondedDevices(void) {return btle_deleteAllStoredDevices();}
+
     virtual ble_error_t setDeviceName(const uint8_t *deviceName);
     virtual ble_error_t getDeviceName(uint8_t *deviceName, unsigned *lengthP);
     virtual ble_error_t setAppearance(uint16_t appearance);