summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuan Nguyen <[email protected]>2025-05-12 10:13:56 -0600
committerHuan Nguyen <[email protected]>2025-05-12 10:13:56 -0600
commitec41ddf41b8b5949bdf1c93949519427afdc7291 (patch)
tree0243dd9b8267222bd7207c4af0dcb394a910b89f
parentcfdd55c48a2f44afa55cdb198fe65ddb0c8565ba (diff)
Remove unused time elapsed define, ensure tests still pass
-rw-r--r--test/regression/ux_test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/regression/ux_test.c b/test/regression/ux_test.c
index aaf845a..b2eeb8e 100644
--- a/test/regression/ux_test.c
+++ b/test/regression/ux_test.c
@@ -2,10 +2,6 @@
#include "ux_test_hcd_sim_host.h"
#include "ux_test_dcd_sim_slave.h"
-#ifndef _ux_utility_time_elapsed
-#define _ux_utility_time_elapsed(t0,t1) ((t1)>=(t0) ? ((t1)-(t0)) : (0xFFFFFFFF - (t0) + (t1)))
-#endif
-
#define UX_TEST_TIMEOUT_MS 3000
static UX_TEST_ACTION ux_test_action_handler_check(UX_TEST_ACTION *action, UX_TEST_FUNCTION usbx_function, void *params, UCHAR advance);