nrf5/modules: Correcting event id numbers for connect and disconnect event in ubluepy_constants.py

This commit is contained in:
Glenn Ruben Bakke 2017-02-18 13:07:00 +01:00
parent 292c15bf1a
commit f5324060cc
1 changed files with 2 additions and 2 deletions

View File

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