From 31919241b8f544c3ef57dca49338ca39dd5d445a Mon Sep 17 00:00:00 2001 From: peabody124 Date: Mon, 17 Jan 2011 02:10:59 +0000 Subject: [PATCH] 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 --- flight/PiOS/STM32F10x/pios_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/flight/PiOS/STM32F10x/pios_i2c.c b/flight/PiOS/STM32F10x/pios_i2c.c index 399f9e7b8..2a115a98f 100644 --- a/flight/PiOS/STM32F10x/pios_i2c.c +++ b/flight/PiOS/STM32F10x/pios_i2c.c @@ -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;