1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-07 16:23:38 +03:00

overlooked duplicate name

This commit is contained in:
ficeto 2015-05-07 12:40:56 +03:00
parent ecfac7cd6c
commit 7be8c1d270

View File

@ -100,7 +100,7 @@ bool loadFromSdCard(String path){
return false; return false;
} }
void loadFromSdCard(){ void tryLoadFromSdCard(){
String message = "FileNotFound\n\n"; String message = "FileNotFound\n\n";
if(hasSD){ if(hasSD){
//try to load the URL from SD Card //try to load the URL from SD Card
@ -142,7 +142,7 @@ void setup(void){
} }
//Attach handler //Attach handler
server.onNotFound(loadFromSdCard); server.onNotFound(tryLoadFromSdCard);
//start server //start server
server.begin(); server.begin();