remove dependency on Osmocom_Types.ttcn

... we were only using the uint8_t definition, so let's copy that
one to USB_Types.
This commit is contained in:
Harald Welte 2019-01-25 19:24:58 +01:00
parent 96501d0be6
commit 9acc209aa1
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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)" };