Modified mbed library sources only for STM32F030K6, LQFP32 (0.8mm pitch) package, 32K Flash, 4K SRAM. Compiler target: Nucleo 32F030R8

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
13:0645d8841f51
--- a/common/I2CSlave.cpp	Sun May 25 08:00:07 2014 +0100
+++ b/common/I2CSlave.cpp	Mon May 26 18:15:07 2014 +0100
@@ -19,7 +19,7 @@
 
 namespace mbed {
 
-I2CSlave::I2CSlave(PinName sda, PinName scl) {
+I2CSlave::I2CSlave(PinName sda, PinName scl) : _i2c() {
     i2c_init(&_i2c, sda, scl);
     i2c_frequency(&_i2c, 100000);
     i2c_slave_mode(&_i2c, 1);