diff options
author | Thomas Albers <thomas@thomaslabs.org> | 2023-08-10 11:18:49 +0200 |
---|---|---|
committer | Thomas Albers <thomas@thomaslabs.org> | 2023-08-10 11:18:49 +0200 |
commit | 3199529ab3ed39737454f9f0b4e91915955c38b2 (patch) | |
tree | 0961c0edfce659573e4040d2c4c3a831b8745b2d /zup.h | |
parent | 932424af0aadcfcc9dcf3f66ff844fea6ac53986 (diff) |
Add attempts number as a command line option
Diffstat (limited to 'zup.h')
-rw-r--r-- | zup.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |