diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-07-08 13:14:15 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-12 17:04:22 +0000 |
commit | ebbbdf1a29296004acaa87b57de2059c146e3a3e (patch) | |
tree | 61c28e3aaa4519a74f48f5c9c307fb598d201093 /driver/nfc | |
parent | c0f4b8bec7ccb755fb1151b01816d6cf5d26fdfa (diff) | |
download | chrome-ec-ebbbdf1a29296004acaa87b57de2059c146e3a3e.tar.gz |
tree: Remove non-standard %pb printf format
The binary printf format doesn't provide much over printing hex, so
change existing binary prints to hex. Using standard format specifiers
makes it easier to switch between the "builtin" EC standard library and
the C standard library provided by the toolchain (or Zephyr).
BRANCH=none
BUG=b:238433667, b:234181908
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I55153f0ea1a4864e7819cee0e0f35368baa3f682
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3756176
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'driver/nfc')
-rw-r--r-- | driver/nfc/ctn730.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/driver/nfc/ctn730.c b/driver/nfc/ctn730.c index 45598f76b9..16ab40d025 100644 --- a/driver/nfc/ctn730.c +++ b/driver/nfc/ctn730.c @@ -40,7 +40,6 @@ BUILD_ASSERT(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__); static const char *_text_instruction(uint8_t instruction) { - /* TODO: For normal build, use %pb and BINARY_VALUE(res->inst, 6) */ switch (instruction) { case WLC_HOST_CTRL_RESET: return "RESET"; |