Subversion Repositories HomeAutomation

Rev

Rev 1701 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1701 Rev 1717
Line 193... Line 193...
193
                    }
193
                    }
194
                }
194
                }
195
               
195
               
196
                if (sHexfile && autosuccess) {
196
                if (sHexfile && autosuccess) {
197
                    //send application
197
                    //send application
198
                    dl = new Downloader(hf, dc, nodeid, aBios, HWID_INUSE, HWid);
198
                    dl = new Downloader(hf, dc, nodeid, aBios, HWID_INUSE, HWid, aDefaultBios);
199
                    if (!dl.go()) {
199
                    if (!dl.go()) {
200
                        if (DEBUG_LEVEL>0) { Console.WriteLine("Error occured during download"); }
200
                        if (DEBUG_LEVEL>0) { Console.WriteLine("Error occured during download"); }
201
                        autosuccess = false;
201
                        autosuccess = false;
202
                    }
202
                    }
203
                }
203
                }
Line 353... Line 353...
353
            }
353
            }
354
               
354
               
355
            if (!error) {
355
            if (!error) {
356
                //send application
356
                //send application
357
                dc.flushData();
357
                dc.flushData();
358
                dl = new Downloader(hf, dc, nodeid, dlBios, HWID_INUSE, HWid);
358
                dl = new Downloader(hf, dc, nodeid, dlBios, HWID_INUSE, HWid, aDefaultBios);
359
                if (!dl.go()) {
359
                if (!dl.go()) {
360
                    if (DEBUG_LEVEL>0) { Console.WriteLine("Error occured during download"); }
360
                    if (DEBUG_LEVEL>0) { Console.WriteLine("Error occured during download"); }
361
                    error = true;
361
                    error = true;
362
                }
362
                }
363
            }
363
            }