From cb5bc68c59400189bbf421e0d6f72806b1d2aa80 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 24 Feb 2023 14:26:09 +1300 Subject: [PATCH] Desktop: Fix the number of progress steps in the OSTC4 download steps. Changed the maximum number of steps for the progress bar to match the number of steps that exist. Signed-off-by: Michael Keller --- core/configuredivecomputerthreads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/configuredivecomputerthreads.cpp b/core/configuredivecomputerthreads.cpp index 601c55910..c22494526 100644 --- a/core/configuredivecomputerthreads.cpp +++ b/core/configuredivecomputerthreads.cpp @@ -369,7 +369,7 @@ static dc_status_t read_ostc4_settings(dc_device_t *device, DeviceDetails *m_dev dc_status_t rc = DC_STATUS_SUCCESS; dc_event_progress_t progress; progress.current = 0; - progress.maximum = 23; + progress.maximum = 47; EMIT_PROGRESS();