projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
Sideshow
/
Lib
/
SideshowCommon.h
diff --git
a/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h
b/Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h
index
61696b1
..
794b91e
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h
+++ b/
Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
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
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-65,13
+65,13
@@
/* Type Defines: */
typedef struct
{
/* Type Defines: */
typedef struct
{
- uint32_t
Chunks[4];
+ uint32_t Chunks[4];
} GUID_t;
typedef struct
{
} GUID_t;
typedef struct
{
- uint16_t
LengthInBytes;
- int
UnicodeString[];
+ uint16_t LengthInBytes;
+ int UnicodeString[];
} Unicode_String_t;
typedef union
} Unicode_String_t;
typedef union
@@
-80,19
+80,19
@@
struct
{
struct
{
- uint8_t TypeBytes[3];
+ uint8_t
TypeBytes[3];
-
int
ErrorCode : 6;
-
int
NAK : 1;
-
int
Response : 1;
+
unsigned
ErrorCode : 6;
+
unsigned
NAK : 1;
+
unsigned
Response : 1;
} TypeFields;
} SideShowPacketType_t;
typedef struct
{
} TypeFields;
} SideShowPacketType_t;
typedef struct
{
- uint32_t
Length;
- SideShowPacketType_t
Type;
- uint16_t
Number;
+ uint32_t Length;
+ SideShowPacketType_t Type;
+ uint16_t Number;
} SideShow_PacketHeader_t;
/* Function Prototypes: */
} SideShow_PacketHeader_t;
/* Function Prototypes: */