Fiw for ESP8266

This commit is contained in:
fvanroie 2020-05-02 14:49:46 +02:00
parent a47ad914ca
commit 70daf63ef3
2 changed files with 3 additions and 1 deletions

View File

@ -122,9 +122,11 @@ void gpioSetup()
case 2: case 2:
input_mode = INPUT_PULLUP; input_mode = INPUT_PULLUP;
break; break;
#ifndef ARDUINO_ARCH_ESP8266
case 3: case 3:
input_mode = INPUT_PULLDOWN; input_mode = INPUT_PULLDOWN;
break; break;
#endif
default: default:
input_mode = INPUT; input_mode = INPUT;
} }

View File

@ -14,7 +14,7 @@
void spiffsInfo() void spiffsInfo()
{ // Get all information of your SPIFFS { // Get all information of your SPIFFS
#if defined(ARDUINO_ARCH_ESP8266) #if 0
FSInfo fs_info; FSInfo fs_info;
SPIFFS.info(fs_info); SPIFFS.info(fs_info);