1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-04 18:03:20 +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;
}
void loadFromSdCard(){
void tryLoadFromSdCard(){
String message = "FileNotFound\n\n";
if(hasSD){
//try to load the URL from SD Card
@ -142,7 +142,7 @@ void setup(void){
}
//Attach handler
server.onNotFound(loadFromSdCard);
server.onNotFound(tryLoadFromSdCard);
//start server
server.begin();