Fix some typos in comments

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
Juha Niskanen 2020-11-08 17:57:30 +02:00 committed by Abdelatif Guettouche
parent 70cbb7e537
commit ca7a7ccbeb
10 changed files with 15 additions and 15 deletions

View File

@ -220,8 +220,8 @@ struct stm32f7_qspidev_s
/* The QSPI transaction specification
*
* This is mostly the values of the CCR and DLR, AR, ABR, broken out into a C
* structure since these fields need to be considered at various phases of
* thee transaction processing activity.
* structure since these fields need to be considered at various phases of
* the transaction processing activity.
*/
struct qspi_xctnspec_s

View File

@ -244,8 +244,8 @@ struct stm32h7_qspidev_s
/* The QSPI transaction specification
*
* This is mostly the values of the CCR and DLR, AR, ABR, broken out into a C
* structure since these fields need to be considered at various phases of
* thee transaction processing activity.
* structure since these fields need to be considered at various phases of
* the transaction processing activity.
*/
struct qspi_xctnspec_s

View File

@ -57,7 +57,7 @@
* Macros
****************************************************************************/
/* Exception entry logic. On entry, thee context save area looks like: */
/* Exception entry logic. On entry, the context save area looks like: */
/* xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx SR PC */
/* ^ ^+2*4 */
/* Upon joining common logic, the context save are will look like: */
@ -69,7 +69,7 @@
\label:
st.w --sp, r10
mov r10, \irqno
rjmp avr32_xcptcommon /* FIXME!!! Need IRQ in a register */
rjmp avr32_xcptcommon /* FIXME!!! Need IRQ in a register */
.endm
/****************************************************************************
@ -129,7 +129,7 @@ vectortab:
* Interrupts
****************************************************************************/
/* The interrupt controller must provide an address that is relative to the */
/* The interrupt controller must provide an address that is relative to */
/* the EVBA so it is natural to define these interrupt vectors just after */
/* the exception table. On entry to each interrupt handler, R8-R12, LR, PC */
/* and SR have already been pushed onto the system stack by the MCU. */

View File

@ -264,7 +264,7 @@ void uart_recvchars_dma(FAR uart_dev_t *dev)
is_full = nexthead == rxbuf->tail;
#ifdef CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS
/* Pre-calcuate the watermark level that we will need to test against. */
/* Pre-calculate the watermark level that we will need to test against. */
watermark = (CONFIG_SERIAL_IFLOWCONTROL_UPPER_WATERMARK * rxbuf->size) /
100;

View File

@ -515,7 +515,7 @@ static int cdcacm_recvpacket(FAR struct cdcacm_dev_s *priv,
}
#ifdef CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS
/* Pre-calcuate the watermark level that we will need to test against.
/* Pre-calculate the watermark level that we will need to test against.
* Note that the range of the the upper watermark is from 1 to 99 percent
* and that the actual capacity of the RX buffer is (recv->size - 1).
*/

View File

@ -128,7 +128,7 @@ const struct mountpt_operations fat_operations =
fat_unbind, /* unbind */
fat_statfs, /* statfs */
fat_unlink, /* unlinke */
fat_unlink, /* unlink */
fat_mkdir, /* mkdir */
fat_rmdir, /* rmdir */
fat_rename, /* rename */

View File

@ -157,7 +157,7 @@ const struct mountpt_operations hostfs_operations =
hostfs_unbind, /* unbind */
hostfs_statfs, /* statfs */
hostfs_unlink, /* unlinke */
hostfs_unlink, /* unlink */
hostfs_mkdir, /* mkdir */
hostfs_rmdir, /* rmdir */
hostfs_rename, /* rename */

View File

@ -1054,7 +1054,7 @@ int nxffs_rdblkhdr(FAR struct nxffs_volume_s *volume, off_t offset,
*
* Description:
* Remove an inode from FLASH. This is the internal implementation of
* the file system unlinke operation.
* the file system unlink operation.
*
* Input Parameters:
* volume - Describes the NXFFS volume.

View File

@ -60,7 +60,7 @@
*
* Description:
* Remove an inode from FLASH. This is the internal implementation of
* the file system unlinke operation.
* the file system unlink operation.
*
* Input Parameters:
* volume - Describes the NXFFS volume.

View File

@ -156,7 +156,7 @@ const struct mountpt_operations smartfs_operations =
smartfs_unbind, /* unbind */
smartfs_statfs, /* statfs */
smartfs_unlink, /* unlinke */
smartfs_unlink, /* unlink */
smartfs_mkdir, /* mkdir */
smartfs_rmdir, /* rmdir */
smartfs_rename, /* rename */
@ -592,7 +592,7 @@ static ssize_t smartfs_read(FAR struct file *filep, char *buffer,
sizeof(struct smartfs_chain_header_s));
if (bytestoread + bytesread > buflen)
{
/* Truncate bytesto read based on buffer len */
/* Truncate bytes to read based on buffer len */
bytestoread = buflen - bytesread;
}