diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/msp430fr5969lp/driver/i2c.cc | 2 | ||||
-rw-r--r-- | src/arch/msp430fr5994lp/driver/i2c.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/msp430fr5969lp/driver/i2c.cc b/src/arch/msp430fr5969lp/driver/i2c.cc index a923f88..7c6cbbf 100644 --- a/src/arch/msp430fr5969lp/driver/i2c.cc +++ b/src/arch/msp430fr5969lp/driver/i2c.cc @@ -35,7 +35,7 @@ inline void await_i2c_int(unsigned int ie_flags, unsigned int ifg_flags) signed char I2C::setup() { -#ifdef I2C_PULLUP_FIXED_GPIO +#ifdef CONFIG_I2C_PULLUP_FIXED_GPIO P1DIR |= BIT4 | BIT5; P1OUT |= BIT4 | BIT5; #endif diff --git a/src/arch/msp430fr5994lp/driver/i2c.cc b/src/arch/msp430fr5994lp/driver/i2c.cc index 589a68c..b1ca5fc 100644 --- a/src/arch/msp430fr5994lp/driver/i2c.cc +++ b/src/arch/msp430fr5994lp/driver/i2c.cc @@ -35,7 +35,7 @@ inline void await_i2c_int(unsigned int ie_flags, unsigned int ifg_flags) signed char I2C::setup() { -#ifdef I2C_PULLUP_FIXED_GPIO +#ifdef CONFIG_I2C_PULLUP_FIXED_GPIO P8DIR |= BIT2 | BIT3; P8OUT |= BIT2 | BIT3; #endif |