summaryrefslogtreecommitdiff
path: root/src/driver/soft_i2c.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-25 18:09:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-25 18:09:33 +0100
commit35a98377f52caf5ac37c2e932b9f2d4c9196c195 (patch)
treed87920e581a25b3ef30b4cce967cd8842db5c1eb /src/driver/soft_i2c.cc
parent16b712e0233cfd7b60668927067885f7e3551b92 (diff)
Remove esp8266 support in favor of ESP8266 RTOS SDK
Diffstat (limited to 'src/driver/soft_i2c.cc')
-rw-r--r--src/driver/soft_i2c.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc
index 83aa20c..ada0481 100644
--- a/src/driver/soft_i2c.cc
+++ b/src/driver/soft_i2c.cc
@@ -246,9 +246,7 @@ SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3);
#error "softi2c_pullup = external not supported on this architecture"
#endif /* MULTIPASS_ARCH_* */
#else
-#ifdef MULTIPASS_ARCH_esp8266
-SoftI2C i2c(GPIO::d6, GPIO::d7);
-#elif MULTIPASS_ARCH_arduino_nano
+#if MULTIPASS_ARCH_arduino_nano
SoftI2C i2c(GPIO::pc4, GPIO::pc5);
#elif MULTIPASS_ARCH_blinkenrocket
SoftI2C i2c(GPIO::pc4, GPIO::pc5);