Browse code

caorectat calea la update

Andrei Bucur authored on 09/03/2018 11:38:56
Showing 1 changed files
... ...
@@ -206,7 +206,7 @@ void getMessage(char* topic, byte* payload, unsigned int length) {
206 206
         String msg="Software update: ";
207 207
         t_httpUpdate_return ret; 
208 208
         //ESPhttpUpdate.rebootOnUpdate(false);
209
-        ret = ESPhttpUpdate.update("http://update.clickhome.ro/releu/arduino.bin");  
209
+        ret = ESPhttpUpdate.update("http://update.clickhome.ro/pir/arduino.bin");  
210 210
         switch(ret) {
211 211
            case HTTP_UPDATE_FAILED:
212 212
                msg.concat(" eroare:");