X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1d433d4506113c95285f633e3553ff62d4cfd05d..c7344c22ac700dacf55a8dc729111dd7781c5fed:/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h index a163df66f..bd93154f8 100644 --- a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h +++ b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2011. + Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -39,7 +39,6 @@ #include "Descriptors.h" - #include #include #include @@ -90,16 +89,16 @@ struct { - unsigned char ListenOnly : 1; - unsigned char TalkOnly : 1; - unsigned char PulseIndicateSupported : 1; - unsigned char Reserved : 5; + unsigned ListenOnly : 1; + unsigned TalkOnly : 1; + unsigned PulseIndicateSupported : 1; + unsigned Reserved : 5; } Interface; struct { - unsigned char SupportsAbortINOnMatch : 1; - unsigned char Reserved : 7; + unsigned SupportsAbortINOnMatch : 1; + unsigned Reserved : 7; } Device; uint8_t Reserved2[6]; @@ -108,19 +107,15 @@ typedef struct { - unsigned char LastMessageTransaction : 1; - unsigned char Reserved : 7; - - uint8_t Reserved2[3]; + uint8_t LastMessageTransaction; + uint8_t TermChar; + uint8_t Reserved[2]; } TMC_DevOUTMessageHeader_t; typedef struct { - unsigned char TermCharEnabled : 1; - unsigned char Reserved : 7; - - uint8_t TermChar; - uint8_t Reserved2[2]; + uint8_t LastMessageTransaction; + uint8_t Reserved[3]; } TMC_DevINMessageHeader_t; typedef struct @@ -150,8 +145,5 @@ void EVENT_USB_Device_ConfigurationChanged(void); void EVENT_USB_Device_ControlRequest(void); - uint8_t StreamCallback_AbortINOnRequest(void); - uint8_t StreamCallback_AbortOUTOnRequest(void); - #endif