From 4efedb67b647d87a4421c84a763d8122224ab1d2 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Thu, 2 Mar 2017 22:43:06 +0100 Subject: [PATCH] nrf5/modules: Enable ubluepy constants for CONNECT and DISCONNECT for other bluetooth stacks than s132. --- nrf5/modules/ubluepy/ubluepy_constants.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/nrf5/modules/ubluepy/ubluepy_constants.c b/nrf5/modules/ubluepy/ubluepy_constants.c index 4670b62272..c9980b06bd 100644 --- a/nrf5/modules/ubluepy/ubluepy_constants.c +++ b/nrf5/modules/ubluepy/ubluepy_constants.c @@ -32,11 +32,9 @@ #include "modubluepy.h" STATIC const mp_map_elem_t ubluepy_constants_locals_dict_table[] = { -#if (BLUETOOTH_SD == 132) // GAP events { MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_CONNECTED), MP_OBJ_NEW_SMALL_INT(16) }, { MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_DISCONNECTED), MP_OBJ_NEW_SMALL_INT(17) }, -#endif { MP_OBJ_NEW_QSTR(MP_QSTR_UUID_CCCD), MP_OBJ_NEW_SMALL_INT(0x2902) }, };