diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-19 17:49:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-19 17:49:53 +0000 |
commit | a8017c26317f8f47e6684bed887ff8bc3993c5d0 (patch) | |
tree | 4d0c223ae80863744f083f18c8906a1e43e20cf2 /nuttx/drivers/usbhost/usbhost_storage.c | |
parent | d7e9d1011eafa7f0d8fc272566e3c8c9afaec83c (diff) | |
download | px4-nuttx-a8017c26317f8f47e6684bed887ff8bc3993c5d0.tar.gz px4-nuttx-a8017c26317f8f47e6684bed887ff8bc3993c5d0.tar.bz2 px4-nuttx-a8017c26317f8f47e6684bed887ff8bc3993c5d0.zip |
More descriptor stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3197 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbhost/usbhost_storage.c')
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_storage.c b/nuttx/drivers/usbhost/usbhost_storage.c index e161b24c8..2193caf1f 100644 --- a/nuttx/drivers/usbhost/usbhost_storage.c +++ b/nuttx/drivers/usbhost/usbhost_storage.c @@ -1850,7 +1850,7 @@ static ssize_t usbhost_write(FAR struct inode *inode, const unsigned char *buffe /* Send the user data */ #warning "For lpc17xx, I think this buffer needs to lie in BANK1" result = DRVR_TRANSFER(priv->drvr, &priv->bulkout, - buffer, priv->blocksize * nsectors); + (uint8_t*)buffer, priv->blocksize * nsectors); if (result == OK) { /* Wait for the data in operation to complete */ |