]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Increments the counter
authorliang_mike <liang_mike>
Sat, 12 Jul 2008 14:11:21 +0000 (14:11 +0000)
committerliang_mike <liang_mike>
Sat, 12 Jul 2008 14:11:21 +0000 (14:11 +0000)
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();