This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch releases/12.10
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/releases/12.10 by this push:
new 2e208be9bf Modify type to avoid compilation warning.
2e208be9bf is described below
commit 2e208be9bfa262cf3facc7be7233532e4d77ebb2
Author: halyssonJr <[email protected]>
AuthorDate: Mon Jun 23 15:30:00 2025 -0300
Modify type to avoid compilation warning.
---
arch/xtensa/src/esp32s3/esp32s3_lcd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/xtensa/src/esp32s3/esp32s3_lcd.c
b/arch/xtensa/src/esp32s3/esp32s3_lcd.c
index 8b863c79ad..bf03606420 100644
--- a/arch/xtensa/src/esp32s3/esp32s3_lcd.c
+++ b/arch/xtensa/src/esp32s3/esp32s3_lcd.c
@@ -443,7 +443,7 @@ static uint32_t esp32s3_lcd_getreg(uintptr_t address)
if (esp32s3_lcd_checkreg(false, regval, address))
{
- lcdinfo("%" PRIx32 " ->%" PRIx32 "\n", address, regval);
+ lcdinfo("%" PRIuPTR " ->%" PRIu32 "\n", address, regval);
}
return regval;
@@ -470,7 +470,7 @@ static void esp32s3_lcd_putreg(uintptr_t address, uint32_t
regval)
{
if (esp32s3_lcd_checkreg(true, regval, address))
{
- lcdinfo("%" PRIx32 " <-%" PRIx32 "\n", address, regval);
+ lcdinfo("%" PRIuPTR " <-%" PRIu32 "\n", address, regval);
}
putreg32(regval, address);
@@ -854,7 +854,7 @@ static void esp32s3_lcd_enableclk(void)
clk_b = ESP32S3_LCD_CLK_RES / divisor;
clk_a = CONFIG_ESP32S3_LCD_CLOCK_MHZ / divisor;
- lcdinfo("divisor=%d\n", divisor);
+ lcdinfo("divisor= %" PRIu32 "\n", divisor);
#else
clk_b = clk_a = 0;
#endif