diff options
| author | HiFiPhile <[email protected]> | 2024-07-28 11:59:52 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-07-28 11:59:52 +0200 |
| commit | f48a4567a6f97c6f814ad6cd3de544bcce42e585 (patch) | |
| tree | 2b5e4d18f4d1ac827f97531db6729ecb13583189 /src/device/dcd.h | |
| parent | b0f5422262a26fb1ab496e33bb8009efb6660788 (diff) | |
| parent | cfbdc44a8d099240ad5ef208bd639487c2f28153 (diff) | |
Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index f6735b077..5356e9be1 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -89,14 +89,6 @@ typedef struct TU_ATTR_ALIGNED(4) { }; } dcd_event_t; -typedef enum { - TEST_J = 1, - TEST_K, - TEST_SE0_NAK, - TEST_PACKET, - TEST_FORCE_ENABLE, -} test_mode_t; - //TU_VERIFY_STATIC(sizeof(dcd_event_t) <= 12, "size is not correct"); //--------------------------------------------------------------------+ @@ -150,11 +142,8 @@ void dcd_disconnect(uint8_t rhport); void dcd_sof_enable(uint8_t rhport, bool en); #if CFG_TUD_TEST_MODE -// Check if the test mode is supported, returns true is test mode selector is supported -bool dcd_check_test_mode_support(test_mode_t test_selector) TU_ATTR_WEAK; - // Put device into a test mode (needs power cycle to quit) -void dcd_enter_test_mode(uint8_t rhport, test_mode_t test_selector) TU_ATTR_WEAK; +void dcd_enter_test_mode(uint8_t rhport, tusb_feature_test_mode_t test_selector); #endif //--------------------------------------------------------------------+ // Endpoint API |
