summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/msp430fr5969lp/driver')
-rw-r--r--src/arch/msp430fr5969lp/driver/i2c.cc2
1 files changed, 1 insertions, 1 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