mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix some conditional compilation in previous commit.
This commit is contained in:
parent
778ff478e6
commit
d02ec04ff3
1 changed files with 2 additions and 1 deletions
|
|
@ -192,7 +192,8 @@ int flowc_receiver(int argc, char **argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY
|
||||
#if defined(CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY) && \
|
||||
CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY > 0
|
||||
/* Delay to force flow control */
|
||||
|
||||
usleep(1000 * CONFIG_EXAMPLES_FLOWC_RECEIVER_DELAY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue