From 0a5c7012717d77c79023a12bab66af7a50735a33 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 13 Jan 2019 23:28:49 +0100 Subject: [PATCH] Fix USB Device Request Code name for '0' --- src/USB_Types.ttcn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/USB_Types.ttcn b/src/USB_Types.ttcn index 38956a5..8049cf5 100644 --- a/src/USB_Types.ttcn +++ b/src/USB_Types.ttcn @@ -45,7 +45,7 @@ external function dec_USB_DeviceRequest(in octetstring stream) return USB_Device /* Chapter 9.4, Table 9-4: Standard Request Codes */ type enumerated USB_DeviceRequestCode { - USB_DevReq_GET_FEATURE (0), + USB_DevReq_GET_STATUS (0), USB_DevReq_CLEAR_FEATURE (1), USB_DevReq_SET_FEATURE (3), USB_DevReq_SET_ADDRESS (5),