diff options
| author | hathach <[email protected]> | 2013-05-10 18:08:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-10 18:08:16 +0700 |
| commit | e50010c36c32ccdc1240b5c87c39e4bc448ed2e0 (patch) | |
| tree | 0cf65689fe0a5e498b158d50d9235d8b0095f6c5 /tests/test | |
| parent | 7355a45a6768bd6f1864bb3800904ddda47c5c4e (diff) | |
clean up test
Diffstat (limited to 'tests/test')
| -rw-r--r-- | tests/test/host/ehci/test_ehci_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test/host/ehci/test_ehci_init.c b/tests/test/host/ehci/test_ehci_init.c index da4c6d3c9..b75ebd842 100644 --- a/tests/test/host/ehci/test_ehci_init.c +++ b/tests/test/host/ehci/test_ehci_init.c @@ -36,6 +36,7 @@ */ /**************************************************************************/ +#include <stdlib.h> #include "unity.h" #include "type_helper.h" #include "tusb_option.h" @@ -60,7 +61,7 @@ uint8_t hostid; void setUp(void) { ehci_controller_init(); - hcd_init(); + TEST_ASSERT_EQUAL( TUSB_ERROR_NONE, hcd_init()); dev_addr = 1; hostid = RANDOM(CONTROLLER_HOST_NUMBER) + TEST_CONTROLLER_HOST_START_INDEX; |
