[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge DelugeM.nc, 1.15, 1.16

Jonathan Hui jwhui at users.sourceforge.net
Mon Apr 25 12:15:23 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20110

Modified Files:
	DelugeM.nc 
Log Message:
- Fixed a bug where the LEDs would not appropriately display that
downloading is complete when images are erased.



Index: DelugeM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/DelugeM.nc,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** DelugeM.nc	20 Apr 2005 23:26:59 -0000	1.15
--- DelugeM.nc	25 Apr 2005 19:15:21 -0000	1.16
***************
*** 115,122 ****
        if (imgDesc.numPgs != imgDesc.numPgsComplete) {
  	call PageTransfer.setWorkingPage(i, imgDesc.numPgsComplete);
! 	break;
        }
      }
  
    }
  
--- 115,124 ----
        if (imgDesc.numPgs != imgDesc.numPgsComplete) {
  	call PageTransfer.setWorkingPage(i, imgDesc.numPgsComplete);
! 	return;
        }
      }
  
+     call PageTransfer.setWorkingPage(DELUGE_INVALID_IMGNUM, DELUGE_INVALID_PGNUM);
+ 
    }
  



More information about the Tinyos-beta-commits mailing list