Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SANFAN_read_analog_value nucleo-wdg Nucleo_sleep_copy
Fork of mbed-src by
Diff: common/InterruptIn.cpp
- Revision:
- 113:65a335a675de
- Parent:
- 36:ab3ee77451e7
- Child:
- 212:34d62c0b2af6
--- a/common/InterruptIn.cpp Fri Mar 07 16:00:07 2014 +0000 +++ b/common/InterruptIn.cpp Mon Mar 10 11:30:07 2014 +0000 @@ -21,7 +21,7 @@ InterruptIn::InterruptIn(PinName pin) { gpio_irq_init(&gpio_irq, pin, (&InterruptIn::_irq_handler), (uint32_t)this); - gpio_init(&gpio, pin, PIN_INPUT); + gpio_init_in(&gpio, pin); } InterruptIn::~InterruptIn() {