accelerate_steps=max(accelerate_steps,0);// Check limits due to numerical round-off
accelerate_steps=max(accelerate_steps,0);// Check limits due to numerical round-off
accelerate_steps=min((uint32_t)accelerate_steps,block->step_event_count);//(We can cast here to unsigned, because the above line ensures that we are above zero)
accelerate_steps=min((uint32_t)accelerate_steps,block->step_event_count);//(We can cast here to unsigned, because the above line ensures that we are above zero)