Skip to content

Commit

Permalink
Fix spellling errors (#2893)
Browse files Browse the repository at this point in the history
***NO_CI***
  • Loading branch information
networkfusion committed Mar 3, 2024
1 parent 245604f commit 19738b2
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <sys_dev_spi_native_target.h>

/////////////////////////////////////////////////////
// SPI PAL strucs declared in win_dev_spi_native.h //
// SPI PAL structs declared in win_dev_spi_native.h //
/////////////////////////////////////////////////////
#if STM32_SPI_USE_SPI1
NF_PAL_SPI SPI1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typedef struct
} NF_PAL_UART;

////////////////////////////////////////////
// declaration of the the UART PAL strucs //
// declaration of the the UART PAL structs //
////////////////////////////////////////////
#if defined(NF_SERIAL_COMM_STM32_UART_USE_USART1) && (NF_SERIAL_COMM_STM32_UART_USE_USART1 == TRUE)
extern NF_PAL_UART Uart1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <sys_dev_spi_native_target.h>

/////////////////////////////////////////////////////
// SPI PAL strucs declared in sys_dev_spi_native.h //
// SPI PAL structs declared in sys_dev_spi_native.h //
/////////////////////////////////////////////////////
#if GECKO_USE_SPI0 == TRUE
NF_PAL_SPI SPI0_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ typedef struct
} NF_PAL_UART;

////////////////////////////////////////////
// declaration of the the UART PAL strucs //
// declaration of the the UART PAL structs //
////////////////////////////////////////////
#if defined(GECKO_USE_USART0) && (GECKO_USE_USART0 == TRUE)
extern NF_PAL_UART Uart0_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "sys_dev_dac_native_target.h"

////////////////////////////////////////////////////////////
// DAC PAL strucs delcared in sys_dev_dac_native_target.h //
// DAC PAL structs declared in sys_dev_dac_native_target.h //
////////////////////////////////////////////////////////////
#if STM32_DAC_USE_DAC1_CH1
NF_PAL_DAC Dac1_1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct NF_PAL_DAC
};

////////////////////////////////////////////
// declaration of the the DAC PAL strucs //
// declaration of the the DAC PAL structs //
////////////////////////////////////////////
#if STM32_DAC_USE_DAC1_CH1
extern NF_PAL_DAC Dac1_1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typedef struct
} NF_PAL_UART;

////////////////////////////////////////////
// declaration of the the UART PAL strucs //
// declaration of the the UART PAL structs //
////////////////////////////////////////////
#if defined(NF_SERIAL_COMM_STM32_UART_USE_USART1) && (NF_SERIAL_COMM_STM32_UART_USE_USART1 == TRUE)
extern NF_PAL_UART Uart1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static void RxMessage(CANDriver *canp, uint32_t flags)
}

/////////////////////////////////////////////////////////
// CAN PAL strucs delcared in nf_device_can_native.h //
// CAN PAL structs declared in nf_device_can_native.h //
/////////////////////////////////////////////////////////
#if defined(STM32_CAN_USE_CAN1) && (STM32_CAN_USE_CAN1 == TRUE)
NF_PAL_CAN Can1_PAL;
Expand Down Expand Up @@ -101,15 +101,15 @@ HRESULT Library_nf_device_can_native_nanoFramework_Device_Can_CanController::
.NumericByRefConst()
.u1);

// get message to transmite
// get message to transmit
message = pMessage[Library_nf_device_can_native_nanoFramework_Device_Can_CanMessage::FIELD___message]
.DereferenceArray();

// message max length is 8 bytes
if (message->m_numOfElements > 8)
NANOCLR_SET_AND_LEAVE(CLR_E_OUT_OF_RANGE);

// compose the transmite packet to send
// compose the transmit packet to send
if (message != NULL)
{
// copy message to structure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef struct
} NF_PAL_CAN;

///////////////////////////////////////////
// declaration of the CAN PAL strucs //
// declaration of the CAN PAL structs //
///////////////////////////////////////////
#if defined(STM32_CAN_USE_CAN1) && (STM32_CAN_USE_CAN1 == TRUE)
extern NF_PAL_CAN Can1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "sys_io_ser_native_target.h"

/////////////////////////////////////////////////////////
// UART PAL strucs delcared in win_dev_serial_native.h //
// UART PAL structs declared in win_dev_serial_native.h //
/////////////////////////////////////////////////////////

static LPUART_Type *const lpuart_bases[] = LPUART_BASE_PTRS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typedef Library_sys_dev_i2c_native_System_Device_I2c_I2cTransferResult I2cTransf
typedef Library_corlib_native_System_SpanByte SpanByte;

/////////////////////////////////////////////////////
// I2C PAL strucs declared in sys_dev_i2c_native.h //
// I2C PAL structs declared in sys_dev_i2c_native.h //
/////////////////////////////////////////////////////
NF_PAL_I2C I2C1_PAL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef struct
} NF_PAL_I2C;

///////////////////////////////////////////
// declaration of the the I2C PAL strucs //
// declaration of the the I2C PAL structs //
///////////////////////////////////////////
extern NF_PAL_I2C I2C1_PAL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct NF_PAL_SPI
};

/////////////////////////////////////////////////////
// SPI PAL strucs declared in win_dev_spi_native.h //
// SPI PAL structs declared in win_dev_spi_native.h //
/////////////////////////////////////////////////////
NF_PAL_SPI SPI1_PAL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct NF_PAL_SPI
};

///////////////////////////////////////////
// declaration of the the SPI PAL strucs //
// declaration of the the SPI PAL structs //
///////////////////////////////////////////
extern NF_PAL_SPI SPI1_PAL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "sys_io_ser_native_target.h"

////////////////////////////////////////////////////////////
// UART PAL strucs delcared in sys_io_ser_native_target.h //
// UART PAL structs declared in sys_io_ser_native_target.h //
////////////////////////////////////////////////////////////
#if defined(NF_SERIAL_COMM_TI_USE_UART1) && (NF_SERIAL_COMM_TI_USE_UART1 == TRUE)
NF_PAL_UART Uart1_PAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ typedef struct
} NF_PAL_UART;

////////////////////////////////////////////
// declaration of the the UART PAL strucs //
// declaration of the the UART PAL structs //
////////////////////////////////////////////
#if defined(NF_SERIAL_COMM_TI_USE_UART1) && (NF_SERIAL_COMM_TI_USE_UART1 == TRUE)
extern NF_PAL_UART Uart1_PAL;
Expand Down

0 comments on commit 19738b2

Please sign in to comment.