1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

overlooked duplicate name

This commit is contained in:
ficeto
2015-05-07 12:40:56 +03:00
parent f1ffad408e
commit 532b0bea78

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();