From c0bbc2aded3fd469efb2d55115cd6f398ec08db1 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 5 Mar 2013 15:23:12 +0700 Subject: refractor tests --- tests/test/support/tusb_config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test/support') 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_ */ /** @} */ -- cgit v1.3.1