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.
This commit is contained in:
parent
8154331da6
commit
c6f21fde62
7 changed files with 27 additions and 39 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue