Fix default period of the speed test
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled

This commit is contained in:
Andrea Mazzoleni 2026-05-27 14:52:41 +02:00
parent 133055b53a
commit aee71ad2d6

View file

@ -79,7 +79,7 @@ void speed(int period, int nd, int size)
else
size *= KIBI;
if (period < 1)
period = 1;
period = 1000;
delta = period >= 1000 ? 10 : 1;