aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/JoystickHostWithParser
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-07 07:23:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-07 07:23:03 +0000
commit34dc7f241fe0627e21c3a218123d5d9fbc97374c (patch)
tree093ec915c54f126f4e846fb473acf86cb93110b9 /Demos/Host/LowLevel/JoystickHostWithParser
parent64e5c4084f862267d96b0947f462de7058f3dc4c (diff)
downloadlufa-34dc7f241fe0627e21c3a218123d5d9fbc97374c.tar.gz
lufa-34dc7f241fe0627e21c3a218123d5d9fbc97374c.tar.bz2
lufa-34dc7f241fe0627e21c3a218123d5d9fbc97374c.zip
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.
Diffstat (limited to 'Demos/Host/LowLevel/JoystickHostWithParser')
-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 9d4b20121..758db8de2 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 */