mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +03:00
style: fix Serial.printf formatting in Xtc.cpp
This commit is contained in:
parent
85b7e8124d
commit
436dc9e593
@ -331,8 +331,8 @@ bool Xtc::generateCoverHomeBmp() const {
|
|||||||
// Calculate proportional width for 400px height
|
// Calculate proportional width for 400px height
|
||||||
const uint16_t targetWidth = static_cast<uint16_t>((HOME_TARGET_HEIGHT * pageInfo.width) / pageInfo.height);
|
const uint16_t targetWidth = static_cast<uint16_t>((HOME_TARGET_HEIGHT * pageInfo.width) / pageInfo.height);
|
||||||
|
|
||||||
Serial.printf("[%lu] [XTC] Generating home BMP: %dx%d -> %dx%d\n", millis(), pageInfo.width,
|
Serial.printf("[%lu] [XTC] Generating home BMP: %dx%d -> %dx%d\n", millis(), pageInfo.width, pageInfo.height,
|
||||||
pageInfo.height, targetWidth, HOME_TARGET_HEIGHT);
|
targetWidth, HOME_TARGET_HEIGHT);
|
||||||
|
|
||||||
Serial.printf("[%lu] [XTC] Generating thumb BMP: %dx%d -> %dx%d (scale: %.3f)\n", millis(), pageInfo.width,
|
Serial.printf("[%lu] [XTC] Generating thumb BMP: %dx%d -> %dx%d (scale: %.3f)\n", millis(), pageInfo.width,
|
||||||
pageInfo.height, targetWidth, HOME_TARGET_HEIGHT);
|
pageInfo.height, targetWidth, HOME_TARGET_HEIGHT);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user