Skip to content

Commit e55852c

Browse files
authored
fixed compiler inline issue
1 parent 5c8e60f commit e55852c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/i2c_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ int i2c_byte_write(i2c_t *obj, int data)
893893
* Return whether the given state is a state where we can start a new I2C transaction with the
894894
* STM32 HAL.
895895
*/
896-
inline bool i2c_is_ready_for_transaction_start(stm_i2c_state state)
896+
bool i2c_is_ready_for_transaction_start(stm_i2c_state state)
897897
{
898898
// Note: We can safely send a transaction start in the middle of any single byte operation; this creates a
899899
// repeated start.

0 commit comments

Comments
 (0)