nrf5/modules/machine: Removing toggle event trigger as that will be a combination of the rising and falling together.
This commit is contained in:
parent
32083a9443
commit
6446105689
|
@ -519,8 +519,6 @@ STATIC const mp_map_elem_t pin_locals_dict_table[] = {
|
||||||
// IRQ triggers, can be or'd together
|
// 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_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_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
|
// legacy class constants
|
||||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_OUT_PP), MP_OBJ_NEW_SMALL_INT(GPIO_MODE_OUTPUT_PP) },
|
{ MP_OBJ_NEW_QSTR(MP_QSTR_OUT_PP), MP_OBJ_NEW_SMALL_INT(GPIO_MODE_OUTPUT_PP) },
|
||||||
|
|
Loading…
Reference in New Issue