mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
overlooked duplicate name
This commit is contained in:
parent
ecfac7cd6c
commit
7be8c1d270
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user