[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/stm25p Stm25pLogP.nc,
1.1.2.6, 1.1.2.7
Jonathan Hui
jwhui at users.sourceforge.net
Mon Nov 13 09:04:09 PST 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html tep106.html, 1.1.2.12,
1.1.2.13
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson10.html,
1.1.2.2, 1.1.2.3 lesson11.html, 1.1.2.7, 1.1.2.8 lesson12.html,
1.1.2.1, 1.1.2.2 lesson6.html, 1.1.2.4, 1.1.2.5 lesson8.html,
1.1.2.7, 1.1.2.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11449
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
Stm25pLogP.nc
Log Message:
Fix a bug observed by Urs Hunkeler. The mount operation contained
left-over debugging code from very early on. Caused the block search
during mount to be limited to two blocks.
Index: Stm25pLogP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p/Stm25pLogP.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** Stm25pLogP.nc 7 Nov 2006 23:15:09 -0000 1.1.2.6
--- Stm25pLogP.nc 13 Nov 2006 17:04:07 -0000 1.1.2.7
***************
*** 327,332 ****
}
// move on to next log block
! if ( (uint16_t)m_addr == 0 &&
! ++block < (call Sector.getNumSectors[ id ]()*BLOCKS_PER_SECTOR)) {
addr += BLOCK_SIZE;
call Sector.read[ id ]( addr, (uint8_t*)&m_addr, sizeof( m_addr ) );
--- 327,331 ----
}
// move on to next log block
! if (++block < (call Sector.getNumSectors[ id ]()*BLOCKS_PER_SECTOR)) {
addr += BLOCK_SIZE;
call Sector.read[ id ]( addr, (uint8_t*)&m_addr, sizeof( m_addr ) );
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html tep106.html, 1.1.2.12,
1.1.2.13
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson10.html,
1.1.2.2, 1.1.2.3 lesson11.html, 1.1.2.7, 1.1.2.8 lesson12.html,
1.1.2.1, 1.1.2.2 lesson6.html, 1.1.2.4, 1.1.2.5 lesson8.html,
1.1.2.7, 1.1.2.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list