Skip to content

Commit

Permalink
HAL: Remove duplication in TARGET_NRF52 gpio_api
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzlim committed Jan 26, 2022
1 parent 4095c65 commit a580c41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/gpio_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
m_channel_ids[pin] = id;
obj->ch = pin;
m_irq_handler = handler;
m_channel_ids[pin] = id;

gpio_apply_config(pin);
return 0;
Expand Down

0 comments on commit a580c41

Please sign in to comment.