mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-14 I2C: Throw away 0 event in error handler
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2464 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
3fe7fa0df4
commit
68536d2fd1
@ -1074,6 +1074,8 @@ void PIOS_I2C_ER_IRQ_Handler(uint8_t i2c)
|
||||
}
|
||||
return;
|
||||
break;
|
||||
case 0:
|
||||
return;
|
||||
}
|
||||
|
||||
if(event & I2C_FLAG_AF) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user