mirror of https://github.com/ARMmbed/mbed-os.git
Add comment in gpio_irq_init()
parent
2b36413cfb
commit
caa0006838
|
@ -88,6 +88,7 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
|
|||
obj->irq_id = id;
|
||||
|
||||
GPIO_T *gpio_base = NU_PORT_BASE(port_index);
|
||||
// NOTE: In InterruptIn constructor, gpio_irq_init() is called with gpio_init_in() which is responsible for multi-function pin setting.
|
||||
//gpio_set(pin);
|
||||
|
||||
{
|
||||
|
|
|
@ -94,6 +94,7 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
|
|||
obj->irq_id = id;
|
||||
|
||||
GPIO_T *gpio_base = NU_PORT_BASE(port_index);
|
||||
// NOTE: In InterruptIn constructor, gpio_irq_init() is called with gpio_init_in() which is responsible for multi-function pin setting.
|
||||
//gpio_set(pin);
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue