Skip to content
Commit 26db5c2a authored by Josuah Demangeon's avatar Josuah Demangeon Committed by Benjamin Cabé
Browse files

drivers: video: introduce VIDEO_FOURCC_TO_STR



This adds a macro to generate a C99 compound literal string, which allow
to use it in debug log messages, such as:
LOG_DBG("The pixel format is '%s'", VIDEO_FOURCC_STR(fmt->pixelformat));

Signed-off-by: default avatarJosuah Demangeon <me@josuah.net>
parent 4c5f8588
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment