diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-30 09:48:35 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-30 09:48:35 +0000 |
commit | 0f45b9c8e076483cd546d0bc9c606b73455295c6 (patch) | |
tree | d1c38ead3ab0691d6a8e8db2319de93e5bd8bb5a /Projects/Webserver/Lib | |
parent | 2034141a7eb4d21a738f688b5e35a43793d17fbc (diff) | |
download | lufa-0f45b9c8e076483cd546d0bc9c606b73455295c6.tar.gz lufa-0f45b9c8e076483cd546d0bc9c606b73455295c6.tar.bz2 lufa-0f45b9c8e076483cd546d0bc9c606b73455295c6.zip |
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
Diffstat (limited to 'Projects/Webserver/Lib')
-rw-r--r-- | Projects/Webserver/Lib/FATFs/ff.c | 10 | ||||
-rw-r--r-- | Projects/Webserver/Lib/FATFs/ff.h | 2 | ||||
-rw-r--r-- | Projects/Webserver/Lib/uip/uip.c | 8 | ||||
-rw-r--r-- | Projects/Webserver/Lib/uip/uip.h | 18 |
4 files changed, 19 insertions, 19 deletions
diff --git a/Projects/Webserver/Lib/FATFs/ff.c b/Projects/Webserver/Lib/FATFs/ff.c index 1e53131a6..e4d523463 100644 --- a/Projects/Webserver/Lib/FATFs/ff.c +++ b/Projects/Webserver/Lib/FATFs/ff.c @@ -1321,7 +1321,7 @@ FRESULT create_name ( if (w != ' ' && w != '.') break; di--; } - if (!di) return FR_INVALID_NAME; /* Reject nul string */ + if (!di) return FR_INVALID_NAME; /* Reject null string */ lfn[di] = 0; /* LFN is created */ @@ -1458,7 +1458,7 @@ FRESULT create_name ( *path = &p[si]; /* Return pointer to the next segment */ c = (c <= ' ') ? NS_LAST : 0; /* Set last segment flag if end of path */ - if (!i) return FR_INVALID_NAME; /* Reject nul string */ + if (!i) return FR_INVALID_NAME; /* Reject null string */ if (sfn[0] == 0xE5) sfn[0] = 0x05; /* When first char collides with 0xE5, replace it with 0x05 */ if (ni == 8) b <<= 2; @@ -1582,7 +1582,7 @@ FRESULT follow_path ( /* FR_OK(0): successful, !=0: error code */ dj->sclust = 0; /* Start from the root dir */ #endif - if ((UINT)*path < ' ') { /* Nul path means the start directory itself */ + if ((UINT)*path < ' ') { /* Null path means the start directory itself */ res = dir_sdi(dj, 0); dj->dir = 0; @@ -1723,7 +1723,7 @@ FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error occurred */ if (fmt == 3) return FR_DISK_ERR; if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */ - /* Following code initializes the file system object */ + /* Following code initialises the file system object */ if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */ return FR_NO_FILESYSTEM; @@ -3177,7 +3177,7 @@ FRESULT f_mkfs ( if (au == 0) au = 1; if (au > 128) au = 128; - /* Pre-compute number of clusters and FAT syb-type */ + /* Pre-compute number of clusters and FAT sub-type */ n_clst = n_vol / au; fmt = FS_FAT12; if (n_clst >= MIN_FAT16) fmt = FS_FAT16; diff --git a/Projects/Webserver/Lib/FATFs/ff.h b/Projects/Webserver/Lib/FATFs/ff.h index 603e31347..19b6a15b6 100644 --- a/Projects/Webserver/Lib/FATFs/ff.h +++ b/Projects/Webserver/Lib/FATFs/ff.h @@ -429,7 +429,7 @@ FRESULT f_sync (FIL*); /* Flush cached data of a writing file */ FRESULT f_unlink (const TCHAR*); /* Delete an existing file or directory */ FRESULT f_mkdir (const TCHAR*); /* Create a new directory */ FRESULT f_chmod (const TCHAR*, BYTE, BYTE); /* Change attribute of the file/dir */ -FRESULT f_utime (const TCHAR*, const FILINFO*); /* Change timestamp of the file/dir */ +FRESULT f_utime (const TCHAR*, const FILINFO*); /* Change time-stamp of the file/dir */ FRESULT f_rename (const TCHAR*, const TCHAR*); /* Rename/Move a file or directory */ #endif #if _USE_FORWARD diff --git a/Projects/Webserver/Lib/uip/uip.c b/Projects/Webserver/Lib/uip/uip.c index 9b883a8e9..36053029a 100644 --- a/Projects/Webserver/Lib/uip/uip.c +++ b/Projects/Webserver/Lib/uip/uip.c @@ -53,7 +53,7 @@ * statement. While it would be possible to break the uip_process() * function into many smaller functions, this would increase the code * size because of the overhead of parameter passing and the fact that - * the optimier would not be as efficient. + * the optimiser would not be as efficient. * * The principle is that we have a small buffer, called the uip_buf, * in which the device driver puts an incoming packet. The TCP/IP @@ -598,7 +598,7 @@ uip_reass(void) ~bitmap_bits[((offset + len) / 8 ) & 7]; } else { /* If the two endpoints are in different bytes, we update the - bytes in the endpoints and fill the stuff inbetween with + bytes in the endpoints and fill the stuff in-between with 0xff. */ uip_reassbitmap[offset / (8 * 8)] |= bitmap_bits[(offset / 8 ) & 7]; @@ -749,7 +749,7 @@ uip_process(u8_t flag) goto tcp_send_nodata; } - /* Exponential backoff. */ + /* Exponential back-off. */ uip_connr->timer = UIP_RTO << (uip_connr->nrtx > 4? 4: uip_connr->nrtx); @@ -1297,7 +1297,7 @@ uip_process(u8_t flag) with a connection in LISTEN. In that case, we should create a new connection and send a SYNACK in return. */ found_listen: - /* First we check if there are any connections avaliable. Unused + /* First we check if there are any connections available. Unused connections are kept in the same table as used connections, but unused ones have the tcpstate set to CLOSED. Also, connections in TIME_WAIT are kept track of and we'll use the oldest one if no diff --git a/Projects/Webserver/Lib/uip/uip.h b/Projects/Webserver/Lib/uip/uip.h index a10699dc1..abc72208f 100644 --- a/Projects/Webserver/Lib/uip/uip.h +++ b/Projects/Webserver/Lib/uip/uip.h @@ -62,14 +62,14 @@ */ #if UIP_CONF_IPV6 typedef union uip_ip6addr_t { - u8_t u8[16]; /* Initializer, must come first!!! */ + u8_t u8[16]; /* Initialiser, must come first!!! */ u16_t u16[8]; } uip_ip6addr_t; typedef uip_ip6addr_t uip_ipaddr_t; #else /* UIP_CONF_IPV6 */ typedef union uip_ip4addr_t { - u8_t u8[4]; /* Initializer, must come first!!! */ + u8_t u8[4]; /* Initialiser, must come first!!! */ u16_t u16[2]; #if 0 u32_t u32; @@ -232,7 +232,7 @@ typedef struct uip_eth_addr uip_lladdr_t; /** * uIP initialization function. * - * This function should be called at boot up to initilize the uIP + * This function should be called at boot up to initialise the uIP * TCP/IP stack. */ void uip_init(void); @@ -311,7 +311,7 @@ void uip_setipid(u16_t id); * Periodic processing for a connection identified by its number. * * This function does the necessary periodic processing (timers, - * polling) for a uIP TCP conneciton, and should be called when the + * polling) for a uIP TCP connection, and should be called when the * periodic uIP timer goes off. It should be called for every * connection, regardless of whether they are open of closed. * @@ -1426,17 +1426,17 @@ struct uip_stats { } icmp; /**< ICMP statistics. */ #if UIP_TCP struct { - uip_stats_t recv; /**< Number of recived TCP segments. */ + uip_stats_t recv; /**< Number of received TCP segments. */ uip_stats_t sent; /**< Number of sent TCP segments. */ uip_stats_t drop; /**< Number of dropped TCP segments. */ uip_stats_t chkerr; /**< Number of TCP segments with a bad checksum. */ uip_stats_t ackerr; /**< Number of TCP segments with a bad ACK number. */ - uip_stats_t rst; /**< Number of recevied TCP RST (reset) segments. */ + uip_stats_t rst; /**< Number of received TCP RST (reset) segments. */ uip_stats_t rexmit; /**< Number of retransmitted TCP segments. */ uip_stats_t syndrop; /**< Number of dropped SYNs due to too few - connections was avaliable. */ + connections was available. */ uip_stats_t synrst; /**< Number of SYNs for closed ports, triggering a RST. */ } tcp; /**< TCP statistics. */ @@ -1444,7 +1444,7 @@ struct uip_stats { #if UIP_UDP struct { uip_stats_t drop; /**< Number of dropped UDP segments. */ - uip_stats_t recv; /**< Number of recived UDP segments. */ + uip_stats_t recv; /**< Number of received UDP segments. */ uip_stats_t sent; /**< Number of sent UDP segments. */ uip_stats_t chkerr; /**< Number of UDP segments with a bad checksum. */ @@ -1453,7 +1453,7 @@ struct uip_stats { #if UIP_CONF_IPV6 struct { uip_stats_t drop; /**< Number of dropped ND6 packets. */ - uip_stats_t recv; /**< Number of recived ND6 packets */ + uip_stats_t recv; /**< Number of received ND6 packets */ uip_stats_t sent; /**< Number of sent ND6 packets */ } nd6; #endif /*UIP_CONF_IPV6*/ |