nyx: adjust handling of se return values

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 20:16:31 +01:00
1 parent 0e49d62bed
commit 2ce8a57b89
1 file changed
+1 -1
+1 -1
View File
@@ -1811,7 +1811,7 @@ static lv_res_t _create_mbox_benchmark(bool sd_bench)
for (u32 i = 0; i < rnd_off_cnt; i += 4)
{
// Generate new random numbers.
while (!se_rng_pseudo(random_numbers, SE_RNG_BLOCK_SIZE))
while (se_rng_pseudo(random_numbers, SE_RNG_BLOCK_SIZE))
;
// Clamp offsets to 256MB range.
random_offsets[i + 0] = random_numbers[0] % sct_rem_4kb;