Skip to content

Commit 2c98dc8

Browse files
committed
Added call to HAL_I2CEx_ConfigDigitalFilter API
1 parent 0edbe30 commit 2c98dc8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/boards/B-L072Z-LRWAN1/i2c-board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ void I2cMcuFormat( I2c_t *obj, I2cMode mode, I2cDutyCycle dutyCycle, bool I2cAck
7373
HAL_I2C_Init( &I2cHandle );
7474

7575
HAL_I2CEx_ConfigAnalogFilter( &I2cHandle, I2C_ANALOGFILTER_ENABLE );
76+
HAL_I2CEx_ConfigDigitalFilter( &I2cHandle, 0 );
7677
}
7778

7879
void I2cMcuResetBus( I2c_t *obj )

src/boards/NucleoL073/i2c-board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ void I2cMcuFormat( I2c_t *obj, I2cMode mode, I2cDutyCycle dutyCycle, bool I2cAck
7373
HAL_I2C_Init( &I2cHandle );
7474

7575
HAL_I2CEx_ConfigAnalogFilter( &I2cHandle, I2C_ANALOGFILTER_ENABLE );
76+
HAL_I2CEx_ConfigDigitalFilter( &I2cHandle, 0 );
7677
}
7778

7879
void I2cMcuResetBus( I2c_t *obj )

0 commit comments

Comments
 (0)