mbed library sources, with proposed I2C for Seed Arch BLE - not working -

Dependents:   Seeed_Barometer_Sensor_Example

Fork of mbed-src by mbed official

Revision:
113:65a335a675de
Parent:
36:ab3ee77451e7
Child:
212:34d62c0b2af6
diff -r a7168c414ef2 -r 65a335a675de common/InterruptIn.cpp
--- 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() {