diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-20 16:07:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-20 16:07:49 +0000 |
commit | f44266675e1d65d7e479496d837f17b7da1ababf (patch) | |
tree | 7b344f74705f7a44e4fddc333d13767ad89792de /nuttx/drivers | |
parent | 736ac8982a3388fd6e5f96f0587e05b8c09bfd61 (diff) | |
download | px4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.tar.gz px4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.tar.bz2 px4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.zip |
Several bugfixes contributed by Petteri Aimonen
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r-- | nuttx/drivers/usbdev/pl2303.c | 2 | ||||
-rw-r--r-- | nuttx/drivers/usbdev/usbmsc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/usbdev/pl2303.c b/nuttx/drivers/usbdev/pl2303.c index 69bf87965..95f26c185 100644 --- a/nuttx/drivers/usbdev/pl2303.c +++ b/nuttx/drivers/usbdev/pl2303.c @@ -132,7 +132,7 @@ /* USB Controller */ #ifndef CONFIG_USBDEV_SELFPOWERED -# define SELFPOWERED USB_CONFIG_ATT_SELFPOWER +# define SELFPOWERED USB_CONFIG_ATTR_SELFPOWER #else # define SELFPOWERED (0) #endif diff --git a/nuttx/drivers/usbdev/usbmsc.h b/nuttx/drivers/usbdev/usbmsc.h index 6a5530d9d..883a49951 100644 --- a/nuttx/drivers/usbdev/usbmsc.h +++ b/nuttx/drivers/usbdev/usbmsc.h @@ -227,7 +227,7 @@ /* USB Controller */ #ifndef CONFIG_USBDEV_SELFPOWERED -# define SELFPOWERED USB_CONFIG_ATT_SELFPOWER +# define SELFPOWERED USB_CONFIG_ATTR_SELFPOWER #else # define SELFPOWERED (0) #endif |