From eab13c8b91e6bd1c36c430dbbd1eacc6a70a43b5 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Thu, 17 Dec 2015 15:49:10 +0000 Subject: [PATCH] Remove occurrence of deprecated appearance enum --- source/projectconfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/projectconfig.h b/source/projectconfig.h index 2f06a87..a0e9da2 100644 --- a/source/projectconfig.h +++ b/source/projectconfig.h @@ -18,6 +18,7 @@ #define _PROJECTCONFIG_H_ #include "ble/blecommon.h" +#include "ble/GapAdvertisingData.h" /*========================================================================= MCU & BOARD SELCTION @@ -112,7 +113,7 @@ #define CFG_BLE_SEC_PARAM_MAX_KEY_SIZE 16 /*--------------------------------- GAP -------------------------------*/ - #define CFG_GAP_APPEARANCE BLE_APPEARANCE_GENERIC_TAG + #define CFG_GAP_APPEARANCE GapAdvertisingData::GENERIC_TAG #define CFG_GAP_LOCAL_NAME "nRF5x" #define CFG_GAP_CONNECTION_MIN_INTERVAL_MS 50 /**< Minimum acceptable connection interval */