[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/stm25p Stm25pLogP.nc,
1.4, 1.5
Jonathan Hui
jwhui at users.sourceforge.net
Wed Apr 18 08:12:47 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27865
Modified Files:
Stm25pLogP.nc
Log Message:
- Fix bug found by Guillermo De Cesco. The buffer pointer was not
being updated properly when reading across multiple records.
Index: Stm25pLogP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/stm25p/Stm25pLogP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Stm25pLogP.nc 12 Dec 2006 18:23:13 -0000 1.4
--- Stm25pLogP.nc 18 Apr 2007 15:12:45 -0000 1.5
***************
*** 291,295 ****
}
else {
! buf = m_log_state[ client ].buf;
// truncate if record is shorter than requested length
if ( m_log_info[ client ].remaining < m_len )
--- 291,295 ----
}
else {
! buf = m_log_state[ client ].buf + m_log_state[ client ].len - m_len;
// truncate if record is shorter than requested length
if ( m_log_info[ client ].remaining < m_len )
More information about the Tinyos-2-commits
mailing list