From a3d20a78ddf56dbac37b217af3b0716a353e8deb Mon Sep 17 00:00:00 2001 From: RoboSchmied Date: Fri, 5 Apr 2024 10:20:00 +0200 Subject: [PATCH] docs: fix typo in the comments [ci skip] (#6027) Signed-off-by: RoboSchmied --- docs/integration/driver/display/lcd_stm32_guide.rst | 2 +- examples/porting/lv_port_lcd_stm32_template.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integration/driver/display/lcd_stm32_guide.rst b/docs/integration/driver/display/lcd_stm32_guide.rst index 904abecf1..249b223c4 100644 --- a/docs/integration/driver/display/lcd_stm32_guide.rst +++ b/docs/integration/driver/display/lcd_stm32_guide.rst @@ -239,7 +239,7 @@ Step-by-step instructions /* DCX high (data) */ HAL_GPIO_WritePin(LCD_DCX_GPIO_Port, LCD_DCX_Pin, GPIO_PIN_SET); /* for color data use DMA transfer */ - /* Set the SPI in 16-bit mode to match endianess */ + /* Set the SPI in 16-bit mode to match endianness */ hspi1.Init.DataSize = SPI_DATASIZE_16BIT; HAL_SPI_Init(&hspi1); lcd_bus_busy = 1; diff --git a/examples/porting/lv_port_lcd_stm32_template.c b/examples/porting/lv_port_lcd_stm32_template.c index 6c1bc8689..8db7eb050 100644 --- a/examples/porting/lv_port_lcd_stm32_template.c +++ b/examples/porting/lv_port_lcd_stm32_template.c @@ -167,7 +167,7 @@ static void lcd_send_color(lv_display_t * disp, const uint8_t * cmd, size_t cmd_ /* DCX high (data) */ HAL_GPIO_WritePin(LCD_DCX_GPIO_Port, LCD_DCX_Pin, GPIO_PIN_SET); /* for color data use DMA transfer */ - /* Set the SPI in 16-bit mode to match endianess */ + /* Set the SPI in 16-bit mode to match endianness */ hspi1.Init.DataSize = SPI_DATASIZE_16BIT; HAL_SPI_Init(&hspi1); lcd_bus_busy = 1;