summaryrefslogtreecommitdiff
path: root/tests/test/support
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/support')
-rw-r--r--tests/test/support/tusb_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test/support/tusb_config.h b/tests/test/support/tusb_config.h
index a9e390540..de583e98c 100644
--- a/tests/test/support/tusb_config.h
+++ b/tests/test/support/tusb_config.h
@@ -103,6 +103,9 @@
}
#endif
+
+#define RANDOM(n) (rand()%(n))
+
#endif /* _TUSB_TUSB_CONFIG_H_ */
/** @} */