[Tinyos-2-commits] CVS: tinyos-2.x/apps/tosthreads/capps/TestCollection TestCollection.c, 1.3, 1.4
Konrad Lorincz
konradlorincz at users.sourceforge.net
Thu Jul 10 16:10:00 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/apps/tosthreads/capps/TestCollection
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10094
Modified Files:
TestCollection.c
Log Message:
Removed the silly assignment oscilloscope_t *o = o
Index: TestCollection.c
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tosthreads/capps/TestCollection/TestCollection.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TestCollection.c 18 Jun 2008 14:48:56 -0000 1.3
--- TestCollection.c 10 Jul 2008 23:09:58 -0000 1.4
***************
*** 77,82 ****
for (;;) {
if (reading == NREADINGS) {
! oscilloscope_t *o = o;
! o = (oscilloscope_t *) collectionGetPayload(&sendbuf, sizeof(oscilloscope_t));
if (o == NULL) {
fatal_problem();
--- 77,81 ----
for (;;) {
if (reading == NREADINGS) {
! oscilloscope_t *o = (oscilloscope_t *) collectionGetPayload(&sendbuf, sizeof(oscilloscope_t));
if (o == NULL) {
fatal_problem();
More information about the Tinyos-2-commits
mailing list