Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace PRNG with hardware RNG #4225

Open
wants to merge 1 commit into
base: 0_15
Choose a base branch
from

Commits on Oct 25, 2024

  1. Replace PRNG with hardware RNG

    Both ESP8266 and ESP32 have a hardware random register. This update makes use of that. It is slightly faster than the fastled variants but mostly it is truly random, even when the timing limitations stated in the datasheet are disregarded. Also saves a bit on code size.
    
    - Replaced all random8() and random16() calls with new hw_random() versions
    - Not replaced in FX where PRNG is required
    DedeHai committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    60f987c View commit details
    Browse the repository at this point in the history