From 21f1d8c640263f5f0848bfb8e961ea97d43fb23c Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Fri, 17 Feb 2017 19:10:24 +0100 Subject: [PATCH] nrf5: Updating all includes of softdevice.h to ble_drv.h --- nrf5/modules/ubluepy/ubluepy_peripheral.c | 2 +- nrf5/modules/ubluepy/ubluepy_service.c | 2 +- nrf5/modules/ubluepy/ubluepy_uuid.c | 2 +- nrf5/sdk/ble_drv.c | 2 +- nrf5/sdk/modble.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nrf5/modules/ubluepy/ubluepy_peripheral.c b/nrf5/modules/ubluepy/ubluepy_peripheral.c index 285132964c..6150113237 100644 --- a/nrf5/modules/ubluepy/ubluepy_peripheral.c +++ b/nrf5/modules/ubluepy/ubluepy_peripheral.c @@ -31,7 +31,7 @@ #if MICROPY_PY_UBLUEPY -#include "softdevice.h" +#include "ble_drv.h" STATIC void ubluepy_peripheral_print(const mp_print_t *print, mp_obj_t o, mp_print_kind_t kind) { ubluepy_peripheral_obj_t * self = (ubluepy_peripheral_obj_t *)o; diff --git a/nrf5/modules/ubluepy/ubluepy_service.c b/nrf5/modules/ubluepy/ubluepy_service.c index c051c59c8a..baea19f6bc 100644 --- a/nrf5/modules/ubluepy/ubluepy_service.c +++ b/nrf5/modules/ubluepy/ubluepy_service.c @@ -30,7 +30,7 @@ #if MICROPY_PY_UBLUEPY_PERIPHERAL || MICROPY_PY_UBLUEPY_CENTRAL #include "modubluepy.h" -#include "softdevice.h" +#include "ble_drv.h" STATIC void ubluepy_service_print(const mp_print_t *print, mp_obj_t o, mp_print_kind_t kind) { ubluepy_service_obj_t * self = (ubluepy_service_obj_t *)o; diff --git a/nrf5/modules/ubluepy/ubluepy_uuid.c b/nrf5/modules/ubluepy/ubluepy_uuid.c index b6575cd2e5..2bb6894e34 100644 --- a/nrf5/modules/ubluepy/ubluepy_uuid.c +++ b/nrf5/modules/ubluepy/ubluepy_uuid.c @@ -32,7 +32,7 @@ #if MICROPY_PY_UBLUEPY #include "modubluepy.h" -#include "softdevice.h" +#include "ble_drv.h" STATIC void ubluepy_uuid_print(const mp_print_t *print, mp_obj_t o, mp_print_kind_t kind) { ubluepy_uuid_obj_t * self = (ubluepy_uuid_obj_t *)o; diff --git a/nrf5/sdk/ble_drv.c b/nrf5/sdk/ble_drv.c index 480274df5a..d91f72a6aa 100644 --- a/nrf5/sdk/ble_drv.c +++ b/nrf5/sdk/ble_drv.c @@ -29,7 +29,7 @@ #include #include "py/runtime.h" -#include "softdevice.h" +#include "ble_drv.h" #include "mpconfigport.h" #include "nrf_sdm.h" #include "ble_gap.h" diff --git a/nrf5/sdk/modble.c b/nrf5/sdk/modble.c index 40443a59df..358ef70830 100644 --- a/nrf5/sdk/modble.c +++ b/nrf5/sdk/modble.c @@ -32,7 +32,7 @@ #include "led.h" #include "mpconfigboard.h" -#include "softdevice.h" +#include "ble_drv.h" /// \method enable() /// Enable BLE softdevice.