X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/852b5e612d549d1f086ceca4df0b589ac24cb37f..c7344c22ac700dacf55a8dc729111dd7781c5fed:/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h index 53f32a2ae..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 @@ -108,19 +107,15 @@ typedef struct { - unsigned LastMessageTransaction : 1; - unsigned Reserved : 7; - - uint8_t Reserved2[3]; + uint8_t LastMessageTransaction; + uint8_t TermChar; + uint8_t Reserved[2]; } TMC_DevOUTMessageHeader_t; typedef struct { - unsigned TermCharEnabled : 1; - unsigned Reserved : 7; - - uint8_t TermChar; - uint8_t Reserved2[2]; + uint8_t LastMessageTransaction; + uint8_t Reserved[3]; } TMC_DevINMessageHeader_t; typedef struct