diff --git a/kernel/mars_copy.c b/kernel/mars_copy.c index b18f03b6..e01c08b8 100644 --- a/kernel/mars_copy.c +++ b/kernel/mars_copy.c @@ -740,6 +740,8 @@ static int _copy_thread(void *data) brick->verify_ok_count = 0; brick->verify_error_count = 0; + if (brick->copy_limiter) + mars_limit_reset(brick->copy_limiter); _update_percent(brick, true); mars_power_led_on((void*)brick, true); @@ -774,6 +776,9 @@ static int _copy_thread(void *data) brick->trigger = false; } + if (brick->copy_limiter) + mars_limit_reset(brick->copy_limiter); + /* check for fatal consistency errors */ if (brick->copy_error == -EMEDIUMTYPE) { /* reset the whole area */