diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-02-21 22:00:28 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-02-21 22:00:28 +0000 |
commit | 20b15f2d8c1fc7dd2926f473eb34f507f83df5cf (patch) | |
tree | 42953b95266cf4011d01d1580f5c0eff56518337 /apps | |
parent | a663979a1e2b4ccd8f290a707341e2c79ae0b884 (diff) | |
download | px4-firmware-20b15f2d8c1fc7dd2926f473eb34f507f83df5cf.tar.gz px4-firmware-20b15f2d8c1fc7dd2926f473eb34f507f83df5cf.tar.bz2 px4-firmware-20b15f2d8c1fc7dd2926f473eb34f507f83df5cf.zip |
STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4410 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/include/netutils/ftpd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/include/netutils/ftpd.h b/apps/include/netutils/ftpd.h index f7581c89e..71a2096bb 100755 --- a/apps/include/netutils/ftpd.h +++ b/apps/include/netutils/ftpd.h @@ -2,7 +2,7 @@ * apps/include/netutils/ftpd.h * * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -61,9 +61,9 @@ * CONFIG_FTPD_SERVERID - The server name to use in FTP communications. * Default: "NuttX FTP Server" * CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: - * 512 bytes. + * 128 bytes. * CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data - * transfers. Default: 2048 bytes. + * transfers. Default: 512 bytes. * CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each * FTP daemon worker thread. Default: 2048 bytes. */ @@ -85,11 +85,11 @@ #endif #ifndef CONFIG_FTPD_CMDBUFFERSIZE -# define CONFIG_FTPD_CMDBUFFERSIZE 512 +# define CONFIG_FTPD_CMDBUFFERSIZE 128 #endif #ifndef CONFIG_FTPD_DATABUFFERSIZE -# define CONFIG_FTPD_DATABUFFERSIZE 2048 +# define CONFIG_FTPD_DATABUFFERSIZE 512 #endif #ifndef CONFIG_FTPD_WORKERSTACKSIZE |