diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 11:13:16 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 11:13:16 +0000 |
commit | ab1cb263710a5d955f20c39f680637eee733de84 (patch) | |
tree | 4ded5dd0cf795481bb3b9b6f570a222c924a7ffe /os/hal/platforms | |
parent | 247b5f5fc88eab8724d5c199c57aa9c005f4ffc6 (diff) | |
download | ChibiOS-ab1cb263710a5d955f20c39f680637eee733de84.tar.gz ChibiOS-ab1cb263710a5d955f20c39f680637eee733de84.tar.bz2 ChibiOS-ab1cb263710a5d955f20c39f680637eee733de84.zip |
AT91SAM7A3. I2C added forgotten priority appliance.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4867 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rwxr-xr-x | os/hal/platforms/AT91SAM7/i2c_lld.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */
}
|