X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftosthreads%2Fapps%2FTestCollection%2FTestCollectionC.nc;h=46ed34e632091de830729145984a6b64dd068e2e;hb=e0a43a257b706cfe500571f691171f0dd7346ce4;hp=e49640ba994a4c4acc64070cb96bce5bfebcbc13;hpb=53bef9b1287405dadcd6cb0c3cd5848d38799b4c;p=tinyos-2.x.git 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();