The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_NUCLEO_F334R8/TARGET_STM/TARGET_STM32F3/i2c_device.h
- Revision:
- 134:ad3be0349dc5
- Parent:
- 132:9baf128c2fab
--- a/TARGET_NUCLEO_F334R8/TARGET_STM/TARGET_STM32F3/i2c_device.h Wed Jan 04 14:13:01 2017 +0000 +++ b/TARGET_NUCLEO_F334R8/TARGET_STM/TARGET_STM32F3/i2c_device.h Mon Jan 16 12:05:23 2017 +0000 @@ -48,7 +48,7 @@ #define I2CAPI_I2C3_CLKSRC RCC_I2C3CLKSOURCE_SYSCLK /* Provide the suitable timing depending on requested frequencie */ -inline uint32_t get_i2c_timing(int hz) +static inline uint32_t get_i2c_timing(int hz) { uint32_t tim = 0; /*