Skip to content

Commit

Permalink
use VIC_SLOT 11 as default for i2c1
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmm committed Apr 30, 2011
1 parent 365812b commit 7209c31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sw/airborne/arch/lpc21/mcu_periph/i2c_arch.c
Expand Up @@ -270,6 +270,11 @@ void i2c0_hw_init ( void ) {
#endif
#endif

#ifndef I2C1_VIC_SLOT
#define I2C1_VIC_SLOT 11
#endif


void i2c1_ISR(void) __attribute__((naked));

void i2c1_ISR(void) {
Expand Down
1 change: 1 addition & 0 deletions sw/airborne/arch/lpc21/vic_slots_fw.txt
Expand Up @@ -17,6 +17,7 @@ SSP_VIC_SLOT 9 imu_b2_v1.0, imu_b2_v1.1, imu_b2_v1.2
MICROMAG_DRDY_VIC_SLOT 9 micromag
hardcoded, no define 10 usb, e.g. telemetry_transparent_usb
hardcoded, no define 11 EXTINT in baro_scp module
I2C1_VIC_SLOT ? (11) (11 is default in mcu_periph/i2c_arch.c)
I2C1_VIC_SLOT 12 ami601 in imu_b2_v1.0, imu_crista
MS2100_DRDY_VIC_SLOT 12 ms2100 mag in imu_b2_v1.1
MAX11040_DRDY_VIC_SLOT ? max11040 adc module

0 comments on commit 7209c31

Please sign in to comment.