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/PrinterHost | |
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/PrinterHost')
-rw-r--r-- | Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c index 9ee5ec684..8a40e35f6 100644 --- a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c @@ -47,7 +47,7 @@ uint8_t PrinterAltSetting; uint8_t ProcessConfigurationDescriptor(void)
{
uint8_t ConfigDescriptorData[512];
- uint8_t* CurrConfigLocation = ConfigDescriptorData;
+ void* CurrConfigLocation = ConfigDescriptorData;
uint16_t CurrConfigBytesRem;
uint8_t FoundEndpoints = 0;
|