From ab1cb263710a5d955f20c39f680637eee733de84 Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 4 Dec 2012 11:13:16 +0000 Subject: AT91SAM7A3. I2C added forgotten priority appliance. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4867 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/AT91SAM7/i2c_lld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/hal/platforms') diff --git a/os/hal/platforms/AT91SAM7/i2c_lld.c b/os/hal/platforms/AT91SAM7/i2c_lld.c index 94e2d8cc2..2d113824e 100755 --- a/os/hal/platforms/AT91SAM7/i2c_lld.c +++ b/os/hal/platforms/AT91SAM7/i2c_lld.c @@ -200,7 +200,8 @@ void i2c_lld_init(void) { AT91C_BASE_PIOA->PIO_PPUDR = AT91C_PA0_TWD | AT91C_PA1_TWCK; AIC_ConfigureIT(AT91C_ID_TWI, - AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, TWI_IRQHandler); + AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL | SAM7_I2C_I2C1_IRQ_PRIORITY, + TWI_IRQHandler); #endif /* STM32_I2C_USE_I2C1 */ } -- cgit v1.2.3