nrf5/modules/machine: Removing toggle event trigger as that will be a combination of the rising and falling together.

This commit is contained in:
Glenn Ruben Bakke 2017-04-09 21:52:57 +02:00
parent 32083a9443
commit 6446105689
1 changed files with 0 additions and 2 deletions

View File

@ -519,8 +519,6 @@ STATIC const mp_map_elem_t pin_locals_dict_table[] = {
// IRQ triggers, can be or'd together
{ MP_OBJ_NEW_QSTR(MP_QSTR_IRQ_RISING), MP_OBJ_NEW_SMALL_INT(HAL_GPIO_POLARITY_EVENT_LOW_TO_HIGH) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_IRQ_FALLING), MP_OBJ_NEW_SMALL_INT(HAL_GPIO_POLARITY_EVENT_HIGH_TO_LOW) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_IRQ_TOGGLE), MP_OBJ_NEW_SMALL_INT(HAL_GPIO_POLARITY_EVENT_TOGGLE) },
/*
// legacy class constants
{ MP_OBJ_NEW_QSTR(MP_QSTR_OUT_PP), MP_OBJ_NEW_SMALL_INT(GPIO_MODE_OUTPUT_PP) },