apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer
This commit is contained in:
parent
ca354f2175
commit
6a7fddf41d
@ -203,6 +203,14 @@ int flowc_receiver(int argc, char **argv)
|
|||||||
|
|
||||||
usleep(1000 * CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY);
|
usleep(1000 * CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY);
|
||||||
#endif
|
#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);
|
close(fd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user