Merge pull request #89 from andresag01/develop
Replace deprecated inclusions of mbed.h
This commit is contained in:
commit
1527ce60c1
4 changed files with 20 additions and 4 deletions
|
@ -15,7 +15,11 @@
|
|||
*/
|
||||
|
||||
#include "nRF5xn.h"
|
||||
#include "mbed.h"
|
||||
#ifdef YOTTA_CFG_MBED_OS
|
||||
#include "mbed-drivers/mbed.h"
|
||||
#else
|
||||
#include "mbed.h"
|
||||
#endif
|
||||
#include "ble/BLE.h"
|
||||
|
||||
#include "common/common.h"
|
||||
|
|
|
@ -17,7 +17,11 @@
|
|||
#ifndef __NRF5x_GAP_H__
|
||||
#define __NRF5x_GAP_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#ifdef YOTTA_CFG_MBED_OS
|
||||
#include "mbed-drivers/mbed.h"
|
||||
#else
|
||||
#include "mbed.h"
|
||||
#endif
|
||||
#include "ble/blecommon.h"
|
||||
#include "ble.h"
|
||||
#include "ble/GapAdvertisingParams.h"
|
||||
|
|
|
@ -15,7 +15,11 @@
|
|||
*/
|
||||
|
||||
#include "nRF5xGattServer.h"
|
||||
#include "mbed.h"
|
||||
#ifdef YOTTA_CFG_MBED_OS
|
||||
#include "mbed-drivers/mbed.h"
|
||||
#else
|
||||
#include "mbed.h"
|
||||
#endif
|
||||
|
||||
#include "common/common.h"
|
||||
#include "btle/custom/custom_helper.h"
|
||||
|
|
|
@ -14,7 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "mbed.h"
|
||||
#ifdef YOTTA_CFG_MBED_OS
|
||||
#include "mbed-drivers/mbed.h"
|
||||
#else
|
||||
#include "mbed.h"
|
||||
#endif
|
||||
#include "nRF5xn.h"
|
||||
#include "ble/blecommon.h"
|
||||
#include "nrf_soc.h"
|
||||
|
|
Loading…
Reference in a new issue