diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/Kconfig | 2 | ||||
-rw-r--r-- | src/driver/soft_i2c.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig index 9fdc1b2..3d7760f 100644 --- a/src/driver/Kconfig +++ b/src/driver/Kconfig @@ -95,11 +95,13 @@ help config driver_softi2c_pullup_dynamic_external bool "GPIO Dynamic Pull-Up" +depends on arch_msp430fr5969lp || arch_msp430fr5994lp help Pull-Up resistors connected to GPIO, disabled when transmitting LOW config driver_softi2c_pullup_external bool "GPIO Static Pull-Up" +depends on arch_msp430fr5969lp || arch_msp430fr5994lp help Pull-Up resistors connected to GPIO, always on diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc index b03b9e1..e1cff47 100644 --- a/src/driver/soft_i2c.cc +++ b/src/driver/soft_i2c.cc @@ -227,7 +227,7 @@ ON_TIMER_INTERRUPT_tail #if SOFTI2C_PULLUP_EXTERNAL #ifdef MULTIPASS_ARCH_msp430fr5969lp SoftI2C i2c(GPIO::p1_6, GPIO::p1_7, GPIO::p1_4, GPIO::p1_5); -#elif MULTIPASS_ARCH_msp430fr5969lp +#elif MULTIPASS_ARCH_msp430fr5994lp SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3); #else #error "softi2c_pullup = external not supported on this architecture" |