From 37f44e56dfd0d58868c167c6748eacbae9bc5a83 Mon Sep 17 00:00:00 2001 From: Dimitris Mantzouranis Date: Fri, 13 Sep 2024 17:31:19 +0300 Subject: [PATCH] cleanup code option print --- sonixflasher.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sonixflasher.c b/sonixflasher.c index fbb66fb..cd0351f 100644 --- a/sonixflasher.c +++ b/sonixflasher.c @@ -361,8 +361,7 @@ int sn32_decode_chip(unsigned char *data) { bool sn32_check_isp_code_option(unsigned char *data) { uint16_t received_code_option = (data[12] << 8) | data[13]; - printf("Expected Code Option Table: 0x%04X\n", code_option); - printf("Received Code Option Table: 0x%04X\n", received_code_option); + printf("Checking Code Option Table... Expected: 0x%04X Received: 0x%04X.\n", code_option, received_code_option); if (received_code_option != code_option) { printf("Updating Code Option Table from 0x%04X to 0x%04X\n", code_option, received_code_option); code_option = received_code_option;