mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Fiw for ESP8266
This commit is contained in:
parent
a47ad914ca
commit
70daf63ef3
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user