aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bootloaders/TeensyHID/TeensyHID.h2
-rw-r--r--Demos/Device/ClassDriver/CDC/CDC.c2
-rw-r--r--Demos/Device/ClassDriver/DualCDC/DualCDC.c2
-rw-r--r--Demos/Device/Incomplete/Sideshow/Descriptors.c2
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBInterrupt.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/Bootloaders/TeensyHID/TeensyHID.h b/Bootloaders/TeensyHID/TeensyHID.h
index 484fb6b3a..3c5960595 100644
--- a/Bootloaders/TeensyHID/TeensyHID.h
+++ b/Bootloaders/TeensyHID/TeensyHID.h
@@ -50,7 +50,7 @@
#include <LUFA/Drivers/USB/USB.h>
/* Preprocessor Checks: */
- #if !defined(__AVR_AT90USB162__)
+ #if !defined(__AVR_AT90USB162__) && !defined(__AVR_AT90USB646__)
#error This bootloader is not compatible with the selected AVR model.
#endif
diff --git a/Demos/Device/ClassDriver/CDC/CDC.c b/Demos/Device/ClassDriver/CDC/CDC.c
index 8ecfb7b37..cc8abe416 100644
--- a/Demos/Device/ClassDriver/CDC/CDC.c
+++ b/Demos/Device/ClassDriver/CDC/CDC.c
@@ -107,7 +107,7 @@ void CheckJoystickMovement(void)
char* ReportString = NULL;
static bool ActionSent = false;
- char* JoystickStrings[] =
+ char* const JoystickStrings[] =
{
"Joystick Up\r\n",
"Joystick Down\r\n",
diff --git a/Demos/Device/ClassDriver/DualCDC/DualCDC.c b/Demos/Device/ClassDriver/DualCDC/DualCDC.c
index 82bfdc8f7..adc17aed3 100644
--- a/Demos/Device/ClassDriver/DualCDC/DualCDC.c
+++ b/Demos/Device/ClassDriver/DualCDC/DualCDC.c
@@ -144,7 +144,7 @@ void CheckJoystickMovement(void)
char* ReportString = NULL;
static bool ActionSent = false;
- char* JoystickStrings[] =
+ char* const JoystickStrings[] =
{
"Joystick Up\r\n",
"Joystick Down\r\n",
diff --git a/Demos/Device/Incomplete/Sideshow/Descriptors.c b/Demos/Device/Incomplete/Sideshow/Descriptors.c
index 3aaaa8031..275892b9b 100644
--- a/Demos/Device/Incomplete/Sideshow/Descriptors.c
+++ b/Demos/Device/Incomplete/Sideshow/Descriptors.c
@@ -42,7 +42,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
Endpoint0Size: 8,
VendorID: 0x03EB,
- ProductID: 0xDC03,
+ ProductID: 0x2060,
ReleaseNumber: 0x0000,
ManufacturerStrIndex: 0x01,
diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
index 5edefa996..20545a40e 100644
--- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
+++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c
@@ -143,7 +143,7 @@ ISR(USB_GEN_vect, ISR_BLOCK)
USB_DeviceState = DEVICE_STATE_Powered;
EVENT_USB_Connect();
#else
- USB_DeviceState = DEVICE_STATE_Configured;
+ USB_DeviceState = (USB_ConfigurationNumber) ? DEVICE_STATE_Configured : DEVICE_STATE_Addressed;
EVENT_USB_WakeUp();
#endif
}