From 70daf63ef3d262f31e222009198fc31204ad2272 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sat, 2 May 2020 14:49:46 +0200 Subject: [PATCH] Fiw for ESP8266 --- src/hasp_gpio.cpp | 2 ++ src/hasp_spiffs.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hasp_gpio.cpp b/src/hasp_gpio.cpp index cf3ceee9..77797302 100644 --- a/src/hasp_gpio.cpp +++ b/src/hasp_gpio.cpp @@ -122,9 +122,11 @@ void gpioSetup() case 2: input_mode = INPUT_PULLUP; break; +#ifndef ARDUINO_ARCH_ESP8266 case 3: input_mode = INPUT_PULLDOWN; break; +#endif default: input_mode = INPUT; } diff --git a/src/hasp_spiffs.cpp b/src/hasp_spiffs.cpp index fdd64f8a..8522b7f3 100644 --- a/src/hasp_spiffs.cpp +++ b/src/hasp_spiffs.cpp @@ -14,7 +14,7 @@ void spiffsInfo() { // Get all information of your SPIFFS -#if defined(ARDUINO_ARCH_ESP8266) +#if 0 FSInfo fs_info; SPIFFS.info(fs_info);