Skip to content

Commit

Permalink
fixup! Add riot-rs-random crate and corresponding initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Apr 12, 2024
1 parent c7462ed commit 3730c0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/riot-rs-random/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ pub fn construct_rng(hwrng: impl RngCore) {
/// This may be used by threads or tasks. To avoid synchronizion overhead, in the future,
/// dependency injection for task and thread generation might be provided through the riot-rs
/// macros.
#[inline]
pub fn get_rng() -> Rng {
Rng
}

0 comments on commit 3730c0e

Please sign in to comment.