nrf5: Updating all includes of softdevice.h to ble_drv.h

This commit is contained in:
Glenn Ruben Bakke 2017-02-17 19:10:24 +01:00
parent 793cf991ad
commit 21f1d8c640
5 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -29,7 +29,7 @@
#include <stdbool.h>
#include "py/runtime.h"
#include "softdevice.h"
#include "ble_drv.h"
#include "mpconfigport.h"
#include "nrf_sdm.h"
#include "ble_gap.h"

View File

@ -32,7 +32,7 @@
#include "led.h"
#include "mpconfigboard.h"
#include "softdevice.h"
#include "ble_drv.h"
/// \method enable()
/// Enable BLE softdevice.