From e4870d1bdf3b3785bab961e57673008daaa7119c Mon Sep 17 00:00:00 2001 From: JianjunJiang <8192542@qq.com> Date: Wed, 4 Aug 2021 19:14:47 +0800 Subject: [PATCH] [xrock]update version string --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 329743f..26c0fb4 100644 --- a/main.c +++ b/main.c @@ -130,7 +130,8 @@ int main(int argc, char * argv[]) { uint8_t buf[16]; if(rock_version(&ctx, buf)) - printf("%s: 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x\r\n", ctx.chip->name, + printf("%s(%c%c%c%c): 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x 0x%02x%02x%02x%02x\r\n", ctx.chip->name, + buf[ 3], buf[ 2], buf[ 1], buf[ 0], buf[ 3], buf[ 2], buf[ 1], buf[ 0], buf[ 7], buf[ 6], buf[ 5], buf[ 4], buf[11], buf[10], buf[ 9], buf[ 8],