]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosboot/TOSBootM.nc
Deluge T2 support for Epic. This includes support for at45db161d and some refactoring...
[tinyos-2.x.git] / tos / lib / tosboot / TOSBootM.nc
index fa1893c72c93f176fc4ee26fc672524e410d6871..e04718f4d33d0abb97845aaf126aa3857511e20b 100644 (file)
@@ -120,7 +120,7 @@ implementation {
                       startAddr + addr, DELUGE_BYTES_PER_PAGE)) {
        if (i == 0)
          while (1)
-           call Leds.flash(1);
+           call Leds.flash(2);
        return FALSE;
       }
       addr += DELUGE_BYTES_PER_PAGE;
@@ -147,7 +147,7 @@ implementation {
     secLength = extFlashReadAddr();
     curAddr = curAddr + 8;
 
-#if defined(PLATFORM_TELOSB)
+#if defined(PLATFORM_TELOSB) || defined (PLATFORM_EPIC)
     if (intAddr != TOSBOOT_END) {
 #elif defined(PLATFORM_MICAZ) || defined(PLATFORM_IRIS)
     if (intAddr != 0) {