From 2034141a7eb4d21a738f688b5e35a43793d17fbc Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 30 Jul 2010 08:29:53 +0000 Subject: [PATCH] Spell check more of the third party libraries used by LUFA. --- Bootloaders/DFU/BootloaderDFU.txt | 2 +- .../StandaloneProgrammer/Lib/PetiteFATFs/pff.h | 2 +- Projects/TempDataLogger/Lib/FATFs/ff.c | 4 ++-- Projects/TempDataLogger/Lib/FATFs/ff.h | 14 +++++++------- Projects/TempDataLogger/Lib/FATFs/ffconf.h | 6 +++--- .../TempDataLogger/TemperatureDataLogger.txt | 4 ++-- Projects/Webserver/Lib/FATFs/ff.c | 2 +- Projects/Webserver/Lib/FATFs/ff.h | 16 ++++++++-------- Projects/Webserver/Lib/FATFs/ffconf.h | 12 ++++++------ Projects/Webserver/Lib/uip/uip.c | 12 ++++++------ 10 files changed, 37 insertions(+), 37 deletions(-) diff --git a/Bootloaders/DFU/BootloaderDFU.txt b/Bootloaders/DFU/BootloaderDFU.txt index 44ba59369e..3e1e13c5af 100644 --- a/Bootloaders/DFU/BootloaderDFU.txt +++ b/Bootloaders/DFU/BootloaderDFU.txt @@ -13,7 +13,7 @@ * - Series 7 USB AVRs * - Series 6 USB AVRs * - Series 4 USB AVRs - * - Series 2 USB AVRs (Excluding the 8KB FLASH variants) + * - Series 2 USB AVRs * * \section SSec_Info USB Information: * diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/pff.h b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/pff.h index bd43fbce1a..bdf1f94858 100644 --- a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/pff.h +++ b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/pff.h @@ -3,7 +3,7 @@ /----------------------------------------------------------------------------/ / Petit FatFs module is an open source software to implement FAT file system to / small embedded systems. This is a free software and is opened for education, -/ research and commercial developments under license policy of following trems. +/ research and commercial developments under license policy of following terms. / / Copyright (C) 2010, ChaN, all right reserved. / diff --git a/Projects/TempDataLogger/Lib/FATFs/ff.c b/Projects/TempDataLogger/Lib/FATFs/ff.c index 7f4cd25fbb..6b393747f9 100644 --- a/Projects/TempDataLogger/Lib/FATFs/ff.c +++ b/Projects/TempDataLogger/Lib/FATFs/ff.c @@ -114,7 +114,7 @@ #endif -/* Reentrancy related */ +/* Re-entrancy related */ #if _FS_REENTRANT #if _USE_LFN == 1 #error Static LFN work area must not be used in re-entrant configuration. @@ -304,7 +304,7 @@ void unlock_fs ( /*-----------------------------------------------------------------------*/ -/* File shareing control functions */ +/* File sharing control functions */ /*-----------------------------------------------------------------------*/ #if _FS_SHARE diff --git a/Projects/TempDataLogger/Lib/FATFs/ff.h b/Projects/TempDataLogger/Lib/FATFs/ff.h index d7397042c5..4da8dfdbe1 100644 --- a/Projects/TempDataLogger/Lib/FATFs/ff.h +++ b/Projects/TempDataLogger/Lib/FATFs/ff.h @@ -3,7 +3,7 @@ /----------------------------------------------------------------------------/ / FatFs module is a generic FAT file system module for small embedded systems. / This is a free software that opened for education, research and commercial -/ developments under license policy of following trems. +/ developments under license policy of following terms. / / Copyright (C) 2010, ChaN, all right reserved. / @@ -266,7 +266,7 @@ typedef char TCHAR; -/* Definitions corresponds to file shareing feature */ +/* Definitions corresponds to file sharing feature */ #if _FS_SHARE #if _FS_READONLY @@ -388,14 +388,14 @@ typedef struct { typedef enum { FR_OK = 0, /* (0) Succeeded */ - FR_DISK_ERR, /* (1) A hard error occured in the low level disk I/O layer */ + FR_DISK_ERR, /* (1) A hard error occurred in the low level disk I/O layer */ FR_INT_ERR, /* (2) Assertion failed */ FR_NOT_READY, /* (3) The physical drive cannot work */ FR_NO_FILE, /* (4) Could not find the file */ FR_NO_PATH, /* (5) Could not find the path */ FR_INVALID_NAME, /* (6) The path name format is invalid */ - FR_DENIED, /* (7) Acces denied due to prohibited access or directory full */ - FR_EXIST, /* (8) Acces denied due to prohibited access */ + FR_DENIED, /* (7) Access denied due to prohibited access or directory full */ + FR_EXIST, /* (8) Access denied due to prohibited access */ FR_INVALID_OBJECT, /* (9) The file/directory object is invalid */ FR_WRITE_PROTECTED, /* (10) The physical drive is write protected */ FR_INVALID_DRIVE, /* (11) The logical drive number is invalid */ @@ -403,7 +403,7 @@ typedef enum { FR_NO_FILESYSTEM, /* (13) There is no valid FAT volume on the physical drive */ FR_MKFS_ABORTED, /* (14) The f_mkfs() aborted due to any parameter error */ FR_TIMEOUT, /* (15) Could not get a grant to access the volume within defined period */ - FR_LOCKED, /* (16) The operation is rejected according to the file shareing policy */ + FR_LOCKED, /* (16) The operation is rejected according to the file sharing policy */ FR_NOT_ENOUGH_CORE, /* (17) LFN working buffer could not be allocated */ FR_TOO_MANY_OPEN_FILES /* (18) Number of open files > _FS_SHARE */ } FRESULT; @@ -428,7 +428,7 @@ FRESULT f_truncate (FIL*); /* Truncate file */ 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 attriburte of the file/dir */ +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_rename (const TCHAR*, const TCHAR*); /* Rename/Move a file or directory */ #endif diff --git a/Projects/TempDataLogger/Lib/FATFs/ffconf.h b/Projects/TempDataLogger/Lib/FATFs/ffconf.h index 1087c3a0ea..a217b0bf81 100644 --- a/Projects/TempDataLogger/Lib/FATFs/ffconf.h +++ b/Projects/TempDataLogger/Lib/FATFs/ffconf.h @@ -163,10 +163,10 @@ /* Include a header file here to define O/S system calls */ /* #include , , or others. */ -/* The _FS_REENTRANT option switches the reentrancy of the FatFs module. +/* The _FS_REENTRANT option switches the re-entrancy of the FatFs module. / -/ 0: Disable reentrancy. _SYNC_t and _FS_TIMEOUT have no effect. -/ 1: Enable reentrancy. Also user provided synchronization handlers, +/ 0: Disable re-entrancy. _SYNC_t and _FS_TIMEOUT have no effect. +/ 1: Enable re-entrancy. Also user provided synchronization handlers, / ff_req_grant, ff_rel_grant, ff_del_syncobj and ff_cre_syncobj / function must be added to the project. */ diff --git a/Projects/TempDataLogger/TemperatureDataLogger.txt b/Projects/TempDataLogger/TemperatureDataLogger.txt index a3729a63db..a76748e38e 100644 --- a/Projects/TempDataLogger/TemperatureDataLogger.txt +++ b/Projects/TempDataLogger/TemperatureDataLogger.txt @@ -59,8 +59,8 @@ * sampled data. This project will not function correctly if the RTC chip is omitted unless the DUMMY_RTC compile time token * is specified - see \ref SSec_Options. * - * Due to the host's need for exclusive access to the filesystem, the device will not log samples while connected to a host. - * For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT filesystem. + * Due to the host's need for exclusive access to the file system, the device will not log samples while connected to a host. + * For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT file system. * * This project uses the FatFS library from ELM Chan (http://elm-chan.org/fsw/ff/00index_e.html) and the .NET HID device library * LibHIDNet (http://sourceforge.net/projects/libhidnet/). diff --git a/Projects/Webserver/Lib/FATFs/ff.c b/Projects/Webserver/Lib/FATFs/ff.c index cd01f46c09..1e53131a6b 100644 --- a/Projects/Webserver/Lib/FATFs/ff.c +++ b/Projects/Webserver/Lib/FATFs/ff.c @@ -114,7 +114,7 @@ #endif -/* Reentrancy related */ +/* Re-entrancy related */ #if _FS_REENTRANT #if _USE_LFN == 1 #error Static LFN work area must not be used in re-entrant configuration. diff --git a/Projects/Webserver/Lib/FATFs/ff.h b/Projects/Webserver/Lib/FATFs/ff.h index d7397042c5..603e31347a 100644 --- a/Projects/Webserver/Lib/FATFs/ff.h +++ b/Projects/Webserver/Lib/FATFs/ff.h @@ -3,7 +3,7 @@ /----------------------------------------------------------------------------/ / FatFs module is a generic FAT file system module for small embedded systems. / This is a free software that opened for education, research and commercial -/ developments under license policy of following trems. +/ developments under license policy of following terms. / / Copyright (C) 2010, ChaN, all right reserved. / @@ -266,7 +266,7 @@ typedef char TCHAR; -/* Definitions corresponds to file shareing feature */ +/* Definitions corresponds to file sharing feature */ #if _FS_SHARE #if _FS_READONLY @@ -334,7 +334,7 @@ typedef struct { DWORD dsect; /* Current data sector */ #if !_FS_READONLY DWORD dir_sect; /* Sector containing the directory entry */ - BYTE* dir_ptr; /* Ponter to the directory entry in the window */ + BYTE* dir_ptr; /* Pointer to the directory entry in the window */ #endif #if _USE_FASTSEEK DWORD* cltbl; /* Pointer to the cluster link map table */ @@ -388,14 +388,14 @@ typedef struct { typedef enum { FR_OK = 0, /* (0) Succeeded */ - FR_DISK_ERR, /* (1) A hard error occured in the low level disk I/O layer */ + FR_DISK_ERR, /* (1) A hard error occurred in the low level disk I/O layer */ FR_INT_ERR, /* (2) Assertion failed */ FR_NOT_READY, /* (3) The physical drive cannot work */ FR_NO_FILE, /* (4) Could not find the file */ FR_NO_PATH, /* (5) Could not find the path */ FR_INVALID_NAME, /* (6) The path name format is invalid */ - FR_DENIED, /* (7) Acces denied due to prohibited access or directory full */ - FR_EXIST, /* (8) Acces denied due to prohibited access */ + FR_DENIED, /* (7) Access denied due to prohibited access or directory full */ + FR_EXIST, /* (8) Access denied due to prohibited access */ FR_INVALID_OBJECT, /* (9) The file/directory object is invalid */ FR_WRITE_PROTECTED, /* (10) The physical drive is write protected */ FR_INVALID_DRIVE, /* (11) The logical drive number is invalid */ @@ -403,7 +403,7 @@ typedef enum { FR_NO_FILESYSTEM, /* (13) There is no valid FAT volume on the physical drive */ FR_MKFS_ABORTED, /* (14) The f_mkfs() aborted due to any parameter error */ FR_TIMEOUT, /* (15) Could not get a grant to access the volume within defined period */ - FR_LOCKED, /* (16) The operation is rejected according to the file shareing policy */ + FR_LOCKED, /* (16) The operation is rejected according to the file sharing policy */ FR_NOT_ENOUGH_CORE, /* (17) LFN working buffer could not be allocated */ FR_TOO_MANY_OPEN_FILES /* (18) Number of open files > _FS_SHARE */ } FRESULT; @@ -428,7 +428,7 @@ FRESULT f_truncate (FIL*); /* Truncate file */ 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 attriburte of the file/dir */ +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_rename (const TCHAR*, const TCHAR*); /* Rename/Move a file or directory */ #endif diff --git a/Projects/Webserver/Lib/FATFs/ffconf.h b/Projects/Webserver/Lib/FATFs/ffconf.h index 044be252cd..c28694af1e 100644 --- a/Projects/Webserver/Lib/FATFs/ffconf.h +++ b/Projects/Webserver/Lib/FATFs/ffconf.h @@ -133,9 +133,9 @@ / to the disk_ioctl function. */ -#define _MULTI_PARTITION 0 /* 0:Single parition or 1:Multiple partition */ +#define _MULTI_PARTITION 0 /* 0:Single partition or 1:Multiple partition */ /* When _MULTI_PARTITION is set to 0, each volume is bound to the same physical -/ drive number and can mount only first primaly partition. When it is set to 1, +/ drive number and can mount only first primary partition. When it is set to 1, / each volume is tied to the partitions listed in Drives[]. */ @@ -161,12 +161,12 @@ #define _FS_TIMEOUT 1000 /* Timeout period in unit of time ticks */ #define _SYNC_t HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */ /* Include a header file here to define O/S system calls */ -/* #include , , or ohters. */ +/* #include , , or others. */ -/* The _FS_REENTRANT option switches the reentrancy of the FatFs module. +/* The _FS_REENTRANT option switches the re-entrancy of the FatFs module. / -/ 0: Disable reentrancy. _SYNC_t and _FS_TIMEOUT have no effect. -/ 1: Enable reentrancy. Also user provided synchronization handlers, +/ 0: Disable re-entrancy. _SYNC_t and _FS_TIMEOUT have no effect. +/ 1: Enable re-entrancy. Also user provided synchronization handlers, / ff_req_grant, ff_rel_grant, ff_del_syncobj and ff_cre_syncobj / function must be added to the project. */ diff --git a/Projects/Webserver/Lib/uip/uip.c b/Projects/Webserver/Lib/uip/uip.c index 22a72043f1..9b883a8e95 100644 --- a/Projects/Webserver/Lib/uip/uip.c +++ b/Projects/Webserver/Lib/uip/uip.c @@ -158,7 +158,7 @@ struct uip_conn uip_conns[UIP_CONNS]; connections. */ u16_t uip_listenports[UIP_LISTENPORTS]; /* The uip_listenports list all currently - listning ports. */ + listening ports. */ #if UIP_UDP struct uip_udp_conn *uip_udp_conn; struct uip_udp_conn uip_udp_conns[UIP_UDP_CONNS]; @@ -696,7 +696,7 @@ uip_process(u8_t flag) } goto drop; - /* Check if we were invoked because of the perodic timer fireing. */ + /* Check if we were invoked because of the periodic timer firing. */ } else if(flag == UIP_TIMER) { #if UIP_REASSEMBLY if(uip_reasstmr != 0) { @@ -980,7 +980,7 @@ uip_process(u8_t flag) /* If we are configured to use ping IP address assignment, we use the destination IP address of this ping packet and assign it to - ourself. */ + yourself. */ #if UIP_PINGADDRCONF if(uip_ipaddr_cmp(&uip_hostaddr, &uip_all_zeroes_addr)) { uip_hostaddr = BUF->destipaddr; @@ -1030,7 +1030,7 @@ uip_process(u8_t flag) } /* We should now send a neighbor advertisement back to where the - neighbor solicication came from. */ + neighbor solicitation came from. */ ICMPBUF->type = ICMP6_NEIGHBOR_ADVERTISEMENT; ICMPBUF->flags = ICMP6_FLAG_S; /* Solicited flag. */ @@ -1411,7 +1411,7 @@ uip_process(u8_t flag) uip_flags = 0; /* We do a very naive form of TCP reset processing; we just accept any RST and kill our connection. We should in fact check if the - sequence number of this reset is wihtin our advertised window + sequence number of this reset is within our advertised window before we accept the reset. */ if(BUF->flags & TCP_RST) { uip_connr->tcpstateflags = UIP_CLOSED; @@ -1642,7 +1642,7 @@ uip_process(u8_t flag) the initial MSS so that the application will send an entire MSS of data. This data will not be acknowledged by the receiver, and the application will retransmit it. This is called the - "persistent timer" and uses the retransmission mechanim. + "persistent timer" and uses the retransmission mechanism. */ tmp16 = ((u16_t)BUF->wnd[0] << 8) + (u16_t)BUF->wnd[1]; if(tmp16 > uip_connr->initialmss ||