Browse Source

rtl_test: add info message

Signed-off-by: Steve Markgraf <steve@steve-m.de>
Steve Markgraf 12 years ago
parent
commit
4a068f565b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/rtl_test.c

+ 7 - 0
src/rtl_test.c

@@ -336,6 +336,13 @@ int main(int argc, char **argv)
 #endif
 #endif
 	}
 	}
 
 
+	if (!ppm_benchmark) {
+		fprintf(stderr, "\nInfo: This tool will continuously"
+				" read from the device, and report if\n"
+				"samples get lost. If you observe no "
+				"further output, everything is fine.\n\n");
+	}
+
 	if (sync_mode) {
 	if (sync_mode) {
 		fprintf(stderr, "Reading samples in sync mode...\n");
 		fprintf(stderr, "Reading samples in sync mode...\n");
 		while (!do_exit) {
 		while (!do_exit) {