Skip to content

Commit ec41ddf

Browse files
committed
Remove unused time elapsed define, ensure tests still pass
1 parent cfdd55c commit ec41ddf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/regression/ux_test.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#include "ux_test_hcd_sim_host.h"
33
#include "ux_test_dcd_sim_slave.h"
44

5-
#ifndef _ux_utility_time_elapsed
6-
#define _ux_utility_time_elapsed(t0,t1) ((t1)>=(t0) ? ((t1)-(t0)) : (0xFFFFFFFF - (t0) + (t1)))
7-
#endif
8-
95
#define UX_TEST_TIMEOUT_MS 3000
106

117
static UX_TEST_ACTION ux_test_action_handler_check(UX_TEST_ACTION *action, UX_TEST_FUNCTION usbx_function, void *params, UCHAR advance);

0 commit comments

Comments
 (0)