Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
6d256c51
Commit
6d256c51
authored
Mar 19, 2010
by
Dean Camera
Browse files
Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints.
parent
72527867
Changes
3
Hide whitespace changes
Inline
Side-by-side
Demos/Device/LowLevel/MassStorage/MassStorage.c
View file @
6d256c51
...
...
@@ -113,14 +113,14 @@ void EVENT_USB_Device_ConfigurationChanged(void)
/* Setup Mass Storage In and Out Endpoints */
if
(
!
(
Endpoint_ConfigureEndpoint
(
MASS_STORAGE_IN_EPNUM
,
EP_TYPE_BULK
,
ENDPOINT_DIR_IN
,
MASS_STORAGE_IO_EPSIZE
,
ENDPOINT_BANK_
DOUB
LE
)))
ENDPOINT_BANK_
SING
LE
)))
{
LEDs_SetAllLEDs
(
LEDMASK_USB_ERROR
);
}
if
(
!
(
Endpoint_ConfigureEndpoint
(
MASS_STORAGE_OUT_EPNUM
,
EP_TYPE_BULK
,
ENDPOINT_DIR_OUT
,
MASS_STORAGE_IO_EPSIZE
,
ENDPOINT_BANK_
DOUB
LE
)))
ENDPOINT_BANK_
SING
LE
)))
{
LEDs_SetAllLEDs
(
LEDMASK_USB_ERROR
);
}
...
...
Demos/Device/LowLevel/MassStorage/MassStorage.h
View file @
6d256c51
...
...
@@ -82,19 +82,19 @@
#define COMMAND_DIRECTION_DATA_IN (1 << 7)
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
#define LEDMASK_USB_NOTREADY LEDS_LED1
#define LEDMASK_USB_NOTREADY
LEDS_LED1
/** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */
#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
#define LEDMASK_USB_ENUMERATING
(LEDS_LED2 | LEDS_LED3)
/** LED mask for the library LED driver, to indicate that the USB interface is ready. */
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
#define LEDMASK_USB_READY
(LEDS_LED2 | LEDS_LED4)
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
#define LEDMASK_USB_ERROR
(LEDS_LED1 | LEDS_LED3)
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
#define LEDMASK_USB_BUSY LEDS_LED2
#define LEDMASK_USB_BUSY
LEDS_LED2
/* Type defines: */
/** Type define for a Command Block Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */
...
...
LUFA/ManPages/ChangeLog.txt
View file @
6d256c51
...
...
@@ -26,6 +26,7 @@
* - Fixed ADC routines not correctly returning the last result when multiple channels were read
* - Fixed ADC routines failing to read the extended channels (Channels 8 to 13, Internal Temperature Sensor) on the
* U4 series USB AVR parts
* - Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints
*
* \section Sec_ChangeLog100219 Version 100219
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment