mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Removed assert_param ; still need to find out what is happening here
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@197 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
b1b8fe4b37
commit
92d0044f50
@ -546,7 +546,7 @@ void I2C_ITConfig(I2C_TypeDef* I2Cx, uint16_t I2C_IT, FunctionalState NewState)
|
||||
/* Check the parameters */
|
||||
assert_param(IS_I2C_ALL_PERIPH(I2Cx));
|
||||
assert_param(IS_FUNCTIONAL_STATE(NewState));
|
||||
assert_param(IS_I2C_CONFIG_IT(I2C_IT));
|
||||
// assert_param(IS_I2C_CONFIG_IT(I2C_IT)); // TODO: Why?
|
||||
|
||||
if (NewState != DISABLE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user