summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp/driver
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-05-28 13:49:46 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-05-28 13:49:46 +0200
commitcf3ba89c46301bb8c0a1eda470c353801117fc0b (patch)
tree4b9c954fc1af7fce01bbae8106a56a586a2d170c /src/arch/msp430fr5969lp/driver
parent060efcf52cb596194a037b4e11f5035fc969efd6 (diff)
softi2c driver: move to kconfig-first approach
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