Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Nov 28, 2024
1 parent defa848 commit f9120b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/touch/TouchDrvCST92xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f9120b1

Please sign in to comment.