From f9120b1b2dd925306f1560446f2403ea0fcaddff Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Thu, 28 Nov 2024 17:55:32 +0800 Subject: [PATCH] Fixed format --- src/touch/TouchDrvCST92xx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/touch/TouchDrvCST92xx.cpp b/src/touch/TouchDrvCST92xx.cpp index 26d6e14..305517d 100644 --- a/src/touch/TouchDrvCST92xx.cpp +++ b/src/touch/TouchDrvCST92xx.cpp @@ -465,7 +465,7 @@ bool TouchDrvCST92xx::getAttribute() uint32_t ProjectID = buffer[1]; ProjectID <<= 8; ProjectID |= buffer[0]; - log_i("Chip type :0x%lx, ProjectID:0X%lx", + log_i("Chip type :0x%x, ProjectID:0X%lx", chipType, ProjectID); write_buffer[0] = {0xD2}; @@ -501,7 +501,7 @@ bool TouchDrvCST92xx::getAttribute() } if ((chipType != CST9220_CHIP_ID) && (chipType != CST9217_CHIP_ID)) { - log_e("Chip type error 0x%04lx", chipType); + log_e("Chip type error 0x%x", chipType); return false; }