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_L432KC/TARGET_STM/TARGET_STM32L4/i2c_device.h
- Revision:
- 134:ad3be0349dc5
- Parent:
- 132:9baf128c2fab
diff -r 99b5ccf27215 -r ad3be0349dc5 TARGET_NUCLEO_L432KC/TARGET_STM/TARGET_STM32L4/i2c_device.h --- a/TARGET_NUCLEO_L432KC/TARGET_STM/TARGET_STM32L4/i2c_device.h Wed Jan 04 14:13:01 2017 +0000 +++ b/TARGET_NUCLEO_L432KC/TARGET_STM/TARGET_STM32L4/i2c_device.h Mon Jan 16 12:05:23 2017 +0000 @@ -49,7 +49,7 @@ #define I2CAPI_I2C4_CLKSRC RCC_I2C4CLKSOURCE_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; if (SystemCoreClock == 80000000) {