From: scipio Date: Fri, 11 Jul 2008 00:36:27 +0000 (+0000) Subject: Add sequence #. X-Git-Tag: release_tinyos_2_1_0_0~82 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=e0a43a257b706cfe500571f691171f0dd7346ce4 Add sequence #. --- diff --git a/apps/tosthreads/apps/TestCollection/TestCollectionC.nc b/apps/tosthreads/apps/TestCollection/TestCollectionC.nc index e49640ba..46ed34e6 100644 --- a/apps/tosthreads/apps/TestCollection/TestCollectionC.nc +++ b/apps/tosthreads/apps/TestCollection/TestCollectionC.nc @@ -92,6 +92,7 @@ implementation { } memcpy(o, &local, sizeof(oscilloscope_t)); if (call BlockingSend.send(&sendbuf, sizeof(oscilloscope_t)) == SUCCESS) { + local.count++; report_sent(); } else { report_problem();