fixed compiler inline issue

pull/15383/head
Charles 2023-02-22 16:06:07 +01:00 committed by GitHub
parent 5c8e60f80b
commit e55852ca55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,7 @@ int i2c_byte_write(i2c_t *obj, int data)
* Return whether the given state is a state where we can start a new I2C transaction with the
* STM32 HAL.
*/
inline bool i2c_is_ready_for_transaction_start(stm_i2c_state state)
bool i2c_is_ready_for_transaction_start(stm_i2c_state state)
{
// Note: We can safely send a transaction start in the middle of any single byte operation; this creates a
// repeated start.