Skip to content

Commit

Permalink
implement EspWifiRngSource for mut refs
Browse files Browse the repository at this point in the history
  • Loading branch information
flippette committed Jan 15, 2025
1 parent 4b66e3d commit d0d5f20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp-wifi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ impl EspWifiRngSource for Rng {}
impl private::Sealed for Rng {}
impl EspWifiRngSource for Trng<'_> {}
impl private::Sealed for Trng<'_> {}
impl<R: EspWifiRngSource + private::Sealed> EspWifiRngSource for &'_ mut R {}
impl<R: EspWifiRngSource + private::Sealed> private::Sealed for &'_ mut R {}

/// Initialize for using WiFi and or BLE.
///
Expand Down

0 comments on commit d0d5f20

Please sign in to comment.