apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer

This commit is contained in:
Gregory Nutt 2017-09-27 06:00:46 -06:00
parent ca354f2175
commit 6a7fddf41d

View File

@ -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);