Fix type in the USB composite device driver

This commit is contained in:
Gregory Nutt 2013-07-04 07:47:32 -06:00
parent bb69466c8b
commit 37ed44a1ee
3 changed files with 7 additions and 2 deletions

View File

@ -5108,4 +5108,7 @@
Change error to ERROR (2013-7-3). Change error to ERROR (2013-7-3).
* arch/arm/src/sam34/sam_gpioirq.c: Fix some errors for interrupts * arch/arm/src/sam34/sam_gpioirq.c: Fix some errors for interrupts
on ports D-F (2013-7-3). on ports D-F (2013-7-3).
* /drivers/usbdev/composite.c: Fix a type in the composite device
driver unitialization logic. DEV1 should be DEV2 in one case
(2013-7-4).

View File

@ -187,7 +187,9 @@ ITEAD 2.4" TFT with Touch
5. Either PA28 or PC29 may drive PWM10 5. Either PA28 or PC29 may drive PWM10
6. The schematics I have do not agree with the documentation. The Touch IRQ 6. The schematics I have do not agree with the documentation. The Touch IRQ
and Dout pins are reversed in the Documentation (D9 an D8, respectively). and Dout pins are reversed in the Documentation (D9 an D8, respectively).
I am assuming that the schematic is correct. I am assuming that the schematic is correct (and the schematic does seem
to match up with what little I can see on the single visible side of the
board).
SD Interface: SD Interface:

View File

@ -891,7 +891,7 @@ void composite_uninitialize(FAR void *handle)
if (priv->dev2) if (priv->dev2)
{ {
DEV1_UNINITIALIZE(priv->dev2); DEV2_UNINITIALIZE(priv->dev2);
priv->dev2 = NULL; priv->dev2 = NULL;
} }