forked from mfulz_github/qmk_firmware
Spell check more of the third party libraries used by LUFA.
This commit is contained in:
parent
fd9b34aac4
commit
2034141a7e
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
/
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -163,10 +163,10 @@
|
|||
/* Include a header file here to define O/S system calls */
|
||||
/* #include <windows.h>, <ucos_ii.h.h>, <semphr.h> 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. */
|
||||
|
||||
|
|
|
@ -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/).
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <windows.h>, <ucos_ii.h.h>, <semphr.h> or ohters. */
|
||||
/* #include <windows.h>, <ucos_ii.h.h>, <semphr.h> 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. */
|
||||
|
||||
|
|
|
@ -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 ||
|
||||
|
|
Loading…
Reference in New Issue