[Tinyos-beta-commits] CVS: tinyos-1.x/beta/STM25P/STM25P
StorageManagerM.nc, 1.3, 1.4
Jonathan Hui
jwhui at users.sourceforge.net
Mon Mar 14 23:24:21 PST 2005
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge DelugeM.nc, 1.10,
1.11 DelugeMetadataM.nc, 1.9, 1.10
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge
NetProgMsgs.h, NONE, 1.1 NetProg.h, 1.2, 1.3 NetProgC.nc, 1.3,
1.4 NetProgM.nc, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/beta/STM25P/STM25P
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3442/STM25P
Modified Files:
StorageManagerM.nc
Log Message:
- Removed debugging code accidentally left in.
Index: StorageManagerM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/STM25P/STM25P/StorageManagerM.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StorageManagerM.nc 15 Mar 2005 07:19:18 -0000 1.3
--- StorageManagerM.nc 15 Mar 2005 07:24:18 -0000 1.4
***************
*** 195,200 ****
if (i == STM25P_NUM_SECTORS) {
state = S_MOUNT;
- call Leds.set(5);
- while(1);
return formatFlash();
}
--- 195,198 ----
***************
*** 253,261 ****
return FAIL;
- if (physicalAddr(addr) >= STORAGE_BLOCK_SIZE && volume == 1) {
- call Leds.set(5);
- while(1);
- }
-
return call HALSTM25P.read(physicalAddr(addr), data, len);
--- 251,254 ----
***************
*** 273,281 ****
state = S_WRITE;
- if (physicalAddr(addr) >= STORAGE_BLOCK_SIZE && volume == 1) {
- call Leds.set(5);
- while(1);
- }
-
if (call HALSTM25P.pageProgram(rwAddr, data, calcNumBytes()) == FAIL) {
state = S_READY;
--- 266,269 ----
***************
*** 313,321 ****
return FAIL;
- if (physicalAddr(addr) >= STORAGE_BLOCK_SIZE && volume == 1) {
- call Leds.set(5);
- while(1);
- }
-
return call HALSTM25P.computeCrc(crcResult, crc, physicalAddr(addr), len);
--- 301,304 ----
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge DelugeM.nc, 1.10,
1.11 DelugeMetadataM.nc, 1.9, 1.10
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge
NetProgMsgs.h, NONE, 1.1 NetProg.h, 1.2, 1.3 NetProgC.nc, 1.3,
1.4 NetProgM.nc, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list