]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/TestCollection/TestCollection.c
Increments the counter
[tinyos-2.x.git] / apps / tosthreads / capps / TestCollection / TestCollection.c
index 35e6a8007e70651af573f5b0c4ccf6733811637d..21aca5a0ff6426540ae2a9afaf3f04cb8da9d3fb 100644 (file)
@@ -83,6 +83,7 @@ void tosthread_main(void* arg) {
         }
         memcpy(o, &local, sizeof(local));
         if (collectionSend(&sendbuf, sizeof(local), AM_OSCILLOSCOPE) == SUCCESS) {
+          local.count++;
           report_sent();
         } else {
           report_problem();