diff options
author | deadprogram <[email protected]> | 2022-11-06 21:47:58 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-11-13 20:47:11 +0100 |
commit | 73b368270c3bfe284729e81f94a698647eba4c20 (patch) | |
tree | 5cb7a24c40c3e2c1a671d64a976da58be4104cff /compileopts | |
parent | 2001c44ed3cf33bd625ebae5ebd23e003a1ff056 (diff) | |
download | tinygo-73b368270c3bfe284729e81f94a698647eba4c20.tar.gz tinygo-73b368270c3bfe284729e81f94a698647eba4c20.zip |
compileopts: add 'retries' flag to allow setting the number of times to retry locating the MSD volume when flashing
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'compileopts')
-rw-r--r-- | compileopts/options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compileopts/options.go b/compileopts/options.go index c201ceb20..11d8d40b2 100644 --- a/compileopts/options.go +++ b/compileopts/options.go @@ -51,6 +51,7 @@ type Options struct { PrintJSON bool Monitor bool BaudRate int + Retries int } // Verify performs a validation on the given options, raising an error if options are not valid. |