aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-07 07:23:03 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-07 07:23:03 +0000
commit52853a8518d5c16f79fc335260b793cd370dec1c (patch)
tree093ec915c54f126f4e846fb473acf86cb93110b9 /Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
parent452f2c3afa5d039e38464179f37e911077d83d43 (diff)
Make Low Level host demos use void pointers for the configuration descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines.
Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@885 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c')
-rw-r--r--Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c b/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
index 9d4b2012..758db8de 100644
--- a/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
+++ b/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
@@ -48,7 +48,7 @@
uint8_t ProcessConfigurationDescriptor(void)
{
uint8_t ConfigDescriptorData[512];
- uint8_t* CurrConfigLocation = ConfigDescriptorData;
+ void* CurrConfigLocation = ConfigDescriptorData;
uint16_t CurrConfigBytesRem;
/* Retrieve the entire configuration descriptor into the allocated buffer */