From 6a7fddf41d5ea01762933b0240a66df3fe6ab9bc Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 27 Sep 2017 06:00:46 -0600 Subject: [PATCH] apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer --- examples/flowc/flowc_receiver.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/flowc/flowc_receiver.c b/examples/flowc/flowc_receiver.c index ac28d776e..f807958a2 100644 --- a/examples/flowc/flowc_receiver.c +++ b/examples/flowc/flowc_receiver.c @@ -203,6 +203,14 @@ int flowc_receiver(int argc, char **argv) usleep(1000 * CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY); #endif + +#ifdef CONFIG_SYSLOG_INTBUFFER + /* Just to force a flush of syslog interrupt buffer. May also provide + * a handy indication that the test is still running. + */ + + syslog(LOG_INFO, "."); +#endif } close(fd);