From 64461056896ceb59b780b949455d01012b5cbe6d Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 9 Apr 2017 21:52:57 +0200 Subject: [PATCH] nrf5/modules/machine: Removing toggle event trigger as that will be a combination of the rising and falling together. --- nrf5/modules/machine/pin.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/nrf5/modules/machine/pin.c b/nrf5/modules/machine/pin.c index bfa06ddfcc..d2676a52c2 100644 --- a/nrf5/modules/machine/pin.c +++ b/nrf5/modules/machine/pin.c @@ -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) },