mbed library sources for small microcontrollers such as STM32F050F6P6 (with 4 kB RAM)
Dependents: STM32F031_blink_LED_1
Fork of mbed-src by
Diff: targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c
- Revision:
- 482:d9a48e768ce0
- Parent:
- 460:3bcf9be0332c
- Child:
- 506:520a30fd3bde
--- a/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Thu Feb 26 09:30:08 2015 +0000 +++ b/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Fri Feb 27 10:00:08 2015 +0000 @@ -247,7 +247,7 @@ return 0; } -inline int i2c_restart(i2c_t *obj) { +static inline int i2c_restart(i2c_t *obj) { /* SR2.START = 0 */ REG(SR2.UINT32) &= ~SR2_START; /* ReStart condition */