X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1d433d4506113c95285f633e3553ff62d4cfd05d..b04de2f2f4bb14c968ebcc765ec93c5d1591aa0d:/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h index a163df66f..a688baeb5 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 @@ -90,16 +90,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 +108,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 +146,5 @@ void EVENT_USB_Device_ConfigurationChanged(void); void EVENT_USB_Device_ControlRequest(void); - uint8_t StreamCallback_AbortINOnRequest(void); - uint8_t StreamCallback_AbortOUTOnRequest(void); - #endif