diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-07 07:23:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-07 07:23:03 +0000 |
commit | 34dc7f241fe0627e21c3a218123d5d9fbc97374c (patch) | |
tree | 093ec915c54f126f4e846fb473acf86cb93110b9 /Demos/Host/LowLevel/StillImageHost | |
parent | 64e5c4084f862267d96b0947f462de7058f3dc4c (diff) | |
download | lufa-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/StillImageHost')
-rw-r--r-- | Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c index 5cee61bf0..9b7776281 100644 --- a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c @@ -48,7 +48,7 @@ uint8_t ProcessConfigurationDescriptor(void)
{
uint8_t ConfigDescriptorData[512];
- uint8_t* CurrConfigLocation = ConfigDescriptorData;
+ void* CurrConfigLocation = ConfigDescriptorData;
uint16_t CurrConfigBytesRem;
uint8_t FoundEndpoints = 0;
|