mirror of
git://soft.sys114.com/klipper
synced 2026-02-09 22:04:23 +09:00
In the rare case where the step generation code finds an interval of zero, it was possible for an integer division of a negative number to cause an incorrect result. Fix that by using the idiv_up() and idiv_down() helpers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>