USBclock 48Mhz, enable serial4 and serial5.

Fork of mbed-src by mbed official

Import programL152RE_serial45_example

NUCLEO-L152RE serial4,5 test program

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() {