From 8692f49bfc10f3fbe257646dbb6b06677cc88007 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 Oct 2018 14:06:52 +0200 Subject: . --- src/driver/soft_i2c.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/driver') 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_* */ -- cgit v1.2.3