diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-18 00:31:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-18 00:31:38 +0000 |
commit | 67726acd33c198facb95876df0cf5457afba1eda (patch) | |
tree | 1d100cb7ec0c440cc66c1e1d2dc5c6221853cdc5 /nuttx/drivers/usbdev/usbdev_scsi.c | |
parent | 390d0065bb8dd2e8ff252bff87941bc194889d0f (diff) | |
download | px4-nuttx-67726acd33c198facb95876df0cf5457afba1eda.tar.gz px4-nuttx-67726acd33c198facb95876df0cf5457afba1eda.tar.bz2 px4-nuttx-67726acd33c198facb95876df0cf5457afba1eda.zip |
typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3192 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbdev/usbdev_scsi.c')
-rw-r--r-- | nuttx/drivers/usbdev/usbdev_scsi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/drivers/usbdev/usbdev_scsi.c b/nuttx/drivers/usbdev/usbdev_scsi.c index 4b0a3862d..c35a50183 100644 --- a/nuttx/drivers/usbdev/usbdev_scsi.c +++ b/nuttx/drivers/usbdev/usbdev_scsi.c @@ -742,13 +742,13 @@ static int inline usbstrg_cmdmodesense6(FAR struct usbstrg_dev_s *priv, /* There are no block descriptors, only the following mode page: */ - ret = usbstrg_modepage(priv, &buf[SCSIREP_MODEPARAMETERHDR6_SIZEOF], modesense->pcpgcode, &mdlen); + ret = usbstrg_modepage(priv, &buf[SCSIRESP_MODEPARAMETERHDR6_SIZEOF], modesense->pcpgcode, &mdlen); if (ret == OK) { /* Store the mode data length and return the total message size */ mph->mdlen = mdlen - 1; - priv->nreqbytes = mdlen + SCSIREP_MODEPARAMETERHDR6_SIZEOF; + priv->nreqbytes = mdlen + SCSIRESP_MODEPARAMETERHDR6_SIZEOF; } } } @@ -1187,18 +1187,18 @@ static int inline usbstrg_cmdmodesense10(FAR struct usbstrg_dev_s *priv, * (3) A variable lengtth list of mode page formats */ - memset(mph, 0, SCSIREP_MODEPARAMETERHDR10_SIZEOF); + memset(mph, 0, SCSIRESP_MODEPARAMETERHDR10_SIZEOF); mph->param = (priv->lun->readonly ? SCSIRESP_MODEPARMHDR_DAPARM_WP : 0x00); /* There are no block descriptors, only the following mode page: */ - ret = usbstrg_modepage(priv, &buf[SCSIREP_MODEPARAMETERHDR10_SIZEOF], modesense->pcpgcode, &mdlen); + ret = usbstrg_modepage(priv, &buf[SCSIRESP_MODEPARAMETERHDR10_SIZEOF], modesense->pcpgcode, &mdlen); if (ret == OK) { /* Store the mode data length and return the total message size */ usbstrg_putbe16(mph->mdlen, mdlen - 2); - priv->nreqbytes = mdlen + SCSIREP_MODEPARAMETERHDR10_SIZEOF; + priv->nreqbytes = mdlen + SCSIRESP_MODEPARAMETERHDR10_SIZEOF; } } } |