diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-25 22:20:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-25 22:20:48 +0000 |
commit | 4bd61ddb8690c76e3e1424cf16a43c678b0666da (patch) | |
tree | afb4093dff7dc358f46f86bc70ab9781e3ee2abc /nuttx/include | |
parent | 84ebd8284c5c2f190ee154e0124fc5ddccbb0361 (diff) | |
download | px4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.tar.gz px4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.tar.bz2 px4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.zip |
Fixes on reverification of USB mass storage class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/usb/cdc_serial.h | 20 | ||||
-rw-r--r-- | nuttx/include/nuttx/usb/usbdev.h | 2 |
2 files changed, 20 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/usb/cdc_serial.h b/nuttx/include/nuttx/usb/cdc_serial.h index 33ad03bb7..ad2c0e64f 100644 --- a/nuttx/include/nuttx/usb/cdc_serial.h +++ b/nuttx/include/nuttx/usb/cdc_serial.h @@ -1,7 +1,7 @@ /**************************************************************************** * include/nuttx/usb/cdc_serial.h * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -351,6 +351,24 @@ int cdcser_classobject(int minor, FAR struct usbdevclass_driver_s **classdev); EXTERN int cdcser_initialize(int minor); +/**************************************************************************** + * Name: cdcser_uninitialize + * + * Description: + * Un-initialize the USB storage class driver + * + * Input Parameters: + * handle - The handle returned by a previous call to cdcser_configure(). + * + * Returned Value: + * None + * + ****************************************************************************/ + +#ifndef CONFIG_CDCSER_COMPOSITE +EXTERN void cdcser_uninitialize(FAR struct usbdevclass_driver_s *classdev); +#endif + #undef EXTERN #if defined(__cplusplus) } diff --git a/nuttx/include/nuttx/usb/usbdev.h b/nuttx/include/nuttx/usb/usbdev.h index 3f694a551..00ded5770 100644 --- a/nuttx/include/nuttx/usb/usbdev.h +++ b/nuttx/include/nuttx/usb/usbdev.h @@ -282,7 +282,7 @@ struct usbdev_s { const struct usbdev_ops_s *ops; /* Access to hardware specific features */ struct usbdev_ep_s *ep0; /* Endpoint zero */ - uint8_t speed; /* Current speed of host connection */ + uint8_t speed; /* Current speed of the host connection */ uint8_t dualspeed:1; /* 1:supports high and full speed operation */ }; |