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:
parent
ecfac7cd6c
commit
7be8c1d270
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user