diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-12 07:54:28 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-12 07:54:28 +0000 |
commit | c6f21fde628193c7957d84792215ecaa14d5beb7 (patch) | |
tree | 9aa760996ff2f126414f32fce7ff65d426556851 /Projects/Webserver/Lib/FATFs | |
parent | 8154331da60ac08b0e2b09ca67008ec4a8c7698b (diff) | |
download | lufa-c6f21fde628193c7957d84792215ecaa14d5beb7.tar.gz lufa-c6f21fde628193c7957d84792215ecaa14d5beb7.tar.bz2 lufa-c6f21fde628193c7957d84792215ecaa14d5beb7.zip |
Speed up Webserver demo data rate by not sending a full ethernet frame each time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup.
Diffstat (limited to 'Projects/Webserver/Lib/FATFs')
-rw-r--r-- | Projects/Webserver/Lib/FATFs/diskio.c | 28 | ||||
-rw-r--r-- | Projects/Webserver/Lib/FATFs/diskio.h | 2 |
2 files changed, 1 insertions, 29 deletions
diff --git a/Projects/Webserver/Lib/FATFs/diskio.c b/Projects/Webserver/Lib/FATFs/diskio.c index c7c837ba4..028c631ba 100644 --- a/Projects/Webserver/Lib/FATFs/diskio.c +++ b/Projects/Webserver/Lib/FATFs/diskio.c @@ -62,31 +62,3 @@ DRESULT disk_write ( return RES_OK;
}
#endif /* _READONLY */
-
-
-
-/*-----------------------------------------------------------------------*/
-/* Miscellaneous Functions */
-
-DRESULT disk_ioctl (
- BYTE drv, /* Physical drive nmuber (0..) */
- BYTE ctrl, /* Control code */
- void *buff /* Buffer to send/receive control data */
-)
-{
- if (ctrl == CTRL_SYNC)
- return RES_OK;
- else
- return RES_PARERR;
-}
-
-
-DWORD get_fattime (void)
-{
- return ((DWORD)1 << 25) |
- ((DWORD)1 << 21) |
- ((DWORD)1 << 16) |
- ((DWORD)1 << 11) |
- ((DWORD)1 << 5) |
- ((DWORD)1 << 0);
-}
diff --git a/Projects/Webserver/Lib/FATFs/diskio.h b/Projects/Webserver/Lib/FATFs/diskio.h index 3df93ae7a..2f444f7b6 100644 --- a/Projects/Webserver/Lib/FATFs/diskio.h +++ b/Projects/Webserver/Lib/FATFs/diskio.h @@ -5,7 +5,7 @@ #ifndef _DISKIO
#define _READONLY 0 /* 1: Read-only mode */
-#define _USE_IOCTL 1
+#define _USE_IOCTL 0
#include "integer.h"
#include "ff.h"
|