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 <github@ike.ch>
This commit is contained in:
Michael Keller 2023-02-24 14:26:09 +13:00 committed by bstoeger
parent 576595bb11
commit cb5bc68c59

View file

@ -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();