test: reduce short jitter-delay to 1ms.

Change-Id: I0fac7518dd23d7345c3344e5d5883661a7cbce19
This commit is contained in:
Leonid Yuriev 2017-04-27 00:20:48 +03:00 committed by Leo Yuriev
parent 939285bef2
commit d5b5434fa6

View File

@ -273,7 +273,7 @@ void jitter_delay(bool extra) {
cpu_relax();
if (dice > 2) {
unsigned us = entropy_white() &
(extra ? 0xfffff /* 1.05 s */ : 0x3fff /* 16 ms */);
(extra ? 0xfffff /* 1.05 s */ : 0x3ff /* 1 ms */);
log_trace("== jitter.delay: %0.6f", us / 1000000.0);
osal_udelay(us);
}