nrf5: Updating all includes of softdevice.h to ble_drv.h
This commit is contained in:
parent
793cf991ad
commit
21f1d8c640
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#if MICROPY_PY_UBLUEPY
|
#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) {
|
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;
|
ubluepy_peripheral_obj_t * self = (ubluepy_peripheral_obj_t *)o;
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#if MICROPY_PY_UBLUEPY_PERIPHERAL || MICROPY_PY_UBLUEPY_CENTRAL
|
#if MICROPY_PY_UBLUEPY_PERIPHERAL || MICROPY_PY_UBLUEPY_CENTRAL
|
||||||
|
|
||||||
#include "modubluepy.h"
|
#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) {
|
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;
|
ubluepy_service_obj_t * self = (ubluepy_service_obj_t *)o;
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#if MICROPY_PY_UBLUEPY
|
#if MICROPY_PY_UBLUEPY
|
||||||
|
|
||||||
#include "modubluepy.h"
|
#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) {
|
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;
|
ubluepy_uuid_obj_t * self = (ubluepy_uuid_obj_t *)o;
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "softdevice.h"
|
#include "ble_drv.h"
|
||||||
#include "mpconfigport.h"
|
#include "mpconfigport.h"
|
||||||
#include "nrf_sdm.h"
|
#include "nrf_sdm.h"
|
||||||
#include "ble_gap.h"
|
#include "ble_gap.h"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "mpconfigboard.h"
|
#include "mpconfigboard.h"
|
||||||
#include "softdevice.h"
|
#include "ble_drv.h"
|
||||||
|
|
||||||
/// \method enable()
|
/// \method enable()
|
||||||
/// Enable BLE softdevice.
|
/// Enable BLE softdevice.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user