Remove free(self) in HMAC which goes against esp-hal API guidelines (#1972)
* Remove `free(self)` which goes against esp-hal API guidelines * changelog
This commit is contained in:
parent
686037be4d
commit
a33ebe1ed6
@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Peripherals (where possible) are now explicitly reset and enabled in their constructors (#1893)
|
- Peripherals (where possible) are now explicitly reset and enabled in their constructors (#1893)
|
||||||
- SHA driver now use specific structs for the hashing algorithm instead of a parameter. (#1908)
|
- SHA driver now use specific structs for the hashing algorithm instead of a parameter. (#1908)
|
||||||
- Reset peripherals in driver constructors where missing (#1893, #1961)
|
- Reset peripherals in driver constructors where missing (#1893, #1961)
|
||||||
|
- Remove `fn free(self)` in HMAC which goes against esp-hal API guidelines (#1972)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@ -109,10 +109,6 @@ impl<'d> Hmac<'d> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn free(self) -> PeripheralRef<'d, HMAC> {
|
|
||||||
self.hmac
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Step 1. Enable HMAC module.
|
/// Step 1. Enable HMAC module.
|
||||||
///
|
///
|
||||||
/// Before these steps, the user shall set the peripheral clocks bits for
|
/// Before these steps, the user shall set the peripheral clocks bits for
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user