From 9acc209aa125972610d95c920f8cdf60d2d99c7f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 25 Jan 2019 19:24:58 +0100 Subject: [PATCH] remove dependency on Osmocom_Types.ttcn ... we were only using the uint8_t definition, so let's copy that one to USB_Types. --- src/CCID_Templates.ttcn | 1 - src/USB_Types.ttcn | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CCID_Templates.ttcn b/src/CCID_Templates.ttcn index 740b1c5..9cc86a3 100644 --- a/src/CCID_Templates.ttcn +++ b/src/CCID_Templates.ttcn @@ -1,6 +1,5 @@ module CCID_Templates { -import from Osmocom_Types all; import from General_Types all; import from USB_Types all; import from CCID_Types all; diff --git a/src/USB_Types.ttcn b/src/USB_Types.ttcn index aa94a44..b50f92e 100644 --- a/src/USB_Types.ttcn +++ b/src/USB_Types.ttcn @@ -3,9 +3,9 @@ module USB_Types { /* USB Standard Descriptors as per the "Universal Serial Bus Specification Revision 2.0 */ import from General_Types all; -import from Osmocom_Types all; type hexstring HEX4LE length(4) with { variant "BYTEORDER(last)" variant "HEXORDER(high)" }; +type integer uint8_t (0..255) with { variant "unsigned 8 bit" }; type integer u16le_t (0..65535) with { variant "unsigned 16 bit" variant "BYTEORDER(first)" }; type integer u32le_t (0..4294967295) with { variant "unsigned 32 bit" variant "BYTEORDER(first)" };