summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/soft_i2c.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc
index 6523286..e16c4a1 100644
--- a/src/driver/soft_i2c.cc
+++ b/src/driver/soft_i2c.cc
@@ -46,10 +46,8 @@ signed char SoftI2C::setup()
#endif
#ifdef SOFTI2C_PULLUP_FIXED_GPIO
#if MULTIPASS_ARCH_msp430fr5969lp
- gpio.output(GPIO::p1_4);
- gpio.output(GPIO::p1_5);
- gpio.write(GPIO::p1_4, 1);
- gpio.write(GPIO::p1_5, 1);
+ gpio.output(GPIO::p1_4, 1);
+ gpio.output(GPIO::p1_5, 1);
#else
#error "softi2c_pullup=gpio not supported on this architecture"
#endif /* MULTIPASS_ARCH_* */