Skip to content

Commit

Permalink
Improved RNG class implementations.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Mar 19, 2024
1 parent 3a3b49c commit a6e2107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tomo_rng_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ void TomoRNGEngine::initializeEngine() {
bootloader_random_disable();
}

uint8_t TomoRNGEngine::get(uint8_t min, uint8_t max) {
uint8_t TomoRNGEngine::get(const uint8_t min, const uint8_t max) {
return (uint8_t) random(min, max + 1);
}

0 comments on commit a6e2107

Please sign in to comment.