From 3199529ab3ed39737454f9f0b4e91915955c38b2 Mon Sep 17 00:00:00 2001 From: Thomas Albers Date: Thu, 10 Aug 2023 11:18:49 +0200 Subject: Add attempts number as a command line option --- zup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zup.h') diff --git a/zup.h b/zup.h index 8fd5f7d..9f01d15 100644 --- a/zup.h +++ b/zup.h @@ -26,6 +26,7 @@ struct param { unsigned int human_readable : 1; unsigned int verbose : 2; unsigned int show_progress : 1; + unsigned int max_attempts; }; #ifdef __GNUC__ @@ -123,7 +124,6 @@ hexdump(size_t start_address, size_t len, const uint8_t *buf); #define MAX_ARGS 5 #define MAX_PACKET_SIZE 256 #define MAX_ATTEMPTS 3 -#define MAX_TRANS_ATTEMPTS 5 #define VERSION "1.0.0" -- cgit v1.2.3