From c0567794ed2f28a8178dd9f4062c4e0e23ec7b61 Mon Sep 17 00:00:00 2001 From: liang_mike Date: Sat, 12 Jul 2008 14:11:21 +0000 Subject: [PATCH] Increments the counter --- apps/tosthreads/capps/TestCollection/TestCollection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/tosthreads/capps/TestCollection/TestCollection.c b/apps/tosthreads/capps/TestCollection/TestCollection.c index 35e6a800..21aca5a0 100644 --- a/apps/tosthreads/capps/TestCollection/TestCollection.c +++ b/apps/tosthreads/capps/TestCollection/TestCollection.c @@ -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(); -- 2.39.2