nrf5/modules: Correcting event id numbers for connect and disconnect event in ubluepy_constants.py
This commit is contained in:
parent
292c15bf1a
commit
f5324060cc
|
@ -34,8 +34,8 @@
|
||||||
STATIC const mp_map_elem_t ubluepy_constants_locals_dict_table[] = {
|
STATIC const mp_map_elem_t ubluepy_constants_locals_dict_table[] = {
|
||||||
#if (BLUETOOTH_SD == 132)
|
#if (BLUETOOTH_SD == 132)
|
||||||
// GAP events
|
// GAP events
|
||||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_CONNECTED), MP_OBJ_NEW_SMALL_INT(0x16) },
|
{ 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(0x17) },
|
{ MP_OBJ_NEW_QSTR(MP_QSTR_EVT_GAP_DISCONNECTED), MP_OBJ_NEW_SMALL_INT(17) },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue