diff options
Diffstat (limited to 'common/spi_commands.c')
-rw-r--r-- | common/spi_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spi_commands.c b/common/spi_commands.c index 9fdc721d40..1a70a5be82 100644 --- a/common/spi_commands.c +++ b/common/spi_commands.c @@ -46,7 +46,7 @@ static int command_spixfer(int argc, char **argv) rv = spi_transaction(&spi_devices[dev_id], &cmd, 1, data, v); if (!rv) - ccprintf("Data: %.*h\n", v, data); + ccprintf("Data: %ph\n", HEX_BUF(data, v)); } else if (strcasecmp(argv[1], "w") == 0) { /* 8-bit write */ |