samples: drivers: video: capture: logging improvements
Remove trailing spaces at the end of log string. Move arguments on the next line for readability. Align arguments to first line. Signed-off-by: Josuah Demangeon <me@josuah.net>
This commit is contained in:
parent
d272c12e01
commit
b95d7e2a94
1 changed files with 14 additions and 14 deletions
|
@ -181,7 +181,7 @@ int main(void)
|
|||
fie.format = &fmt;
|
||||
while (video_enum_frmival(video_dev, &fie) == 0) {
|
||||
if (fie.type == VIDEO_FRMIVAL_TYPE_DISCRETE) {
|
||||
LOG_INF(" %u/%u ", fie.discrete.numerator, fie.discrete.denominator);
|
||||
LOG_INF(" %u/%u", fie.discrete.numerator, fie.discrete.denominator);
|
||||
} else {
|
||||
LOG_INF(" [min = %u/%u; max = %u/%u; step = %u/%u]",
|
||||
fie.stepwise.min.numerator, fie.stepwise.min.denominator,
|
||||
|
@ -268,8 +268,8 @@ int main(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
LOG_DBG("Got frame %u! size: %u; timestamp %u ms", frame++, vbuf->bytesused,
|
||||
vbuf->timestamp);
|
||||
LOG_DBG("Got frame %u! size: %u; timestamp %u ms",
|
||||
frame++, vbuf->bytesused, vbuf->timestamp);
|
||||
|
||||
#ifdef CONFIG_TEST
|
||||
if (is_colorbar_ok(vbuf->buffer, fmt)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue