1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

OP-14 I2C: Adding new event to the ignore list

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2465 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-01-17 02:10:59 +00:00 committed by peabody124
parent 68536d2fd1
commit 31919241b8

View File

@ -1024,6 +1024,7 @@ void PIOS_I2C_EV_IRQ_Handler(uint8_t i2c)
break;
case 0x30084: /* Occurs between byte tranmistted and master mode selected */
case 0x30000: /* Need to throw away this spurious event */
case 0x30403: /* Detected this after got a NACK and then reprocessed by main handler */
//case 0x0: /* Not sure why zeros are occurring */
goto skip_event;
break;