From eab13c8b91e6bd1c36c430dbbd1eacc6a70a43b5 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Thu, 17 Dec 2015 15:49:10 +0000 Subject: [PATCH 1/2] 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 */ From 7a499f1f3e54cbd625d57b39f9494b2edbb5e1a5 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Thu, 17 Dec 2015 15:51:07 +0000 Subject: [PATCH 2/2] Remove unused include blecommon.h from projectconfig.h --- source/projectconfig.h | 1 - 1 file changed, 1 deletion(-) diff --git a/source/projectconfig.h b/source/projectconfig.h index a0e9da2..1595985 100644 --- a/source/projectconfig.h +++ b/source/projectconfig.h @@ -17,7 +17,6 @@ #ifndef _PROJECTCONFIG_H_ #define _PROJECTCONFIG_H_ -#include "ble/blecommon.h" #include "ble/GapAdvertisingData.h" /*=========================================================================