diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-02-12 14:43:24 +0200 |
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2026-02-12 14:58:43 +0200 |
| commit | 1f08bc7b3c34bb2028d23fd550b261f6b29f07eb (patch) | |
| tree | 4905e72eaa3c7264e0359b49502b5089196a5124 | |
| parent | f1c9c2bdf74370fd75caf108faebfc13d108b3d5 (diff) | |
Print integer menu items also in hexadecimal form
Print integer menu items also in hexadecimal form for better readability
on some controls.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
| -rw-r--r-- | yavta.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1440,8 +1440,8 @@ static void video_query_menu(struct device *dev, printf(" %u: %.32s%s\n", menu.index, menu.name, menu.index == value ? " (*)" : ""); else - printf(" %u: %" PRId64 "%s\n", menu.index, - (int64_t)menu.value, + printf(" %u: %" PRId64 " (0x%" PRIx64 ")%s\n", menu.index, + (int64_t)menu.value, (int64_t)menu.value, menu.index == value ? " (*)" : ""); }; } |
