mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer
This commit is contained in:
parent
ca354f2175
commit
6a7fddf41d
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue