Derive Clone and Copy for EspTwaiFrame (#909)
* Derive Clone and Copy for EspTwaiFrame * Update CHANGELOG.md
This commit is contained in:
parent
62894e3f84
commit
594bc65793
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
- ESP32-C6: LP core clock is configurable (#907)
|
- ESP32-C6: LP core clock is configurable (#907)
|
||||||
|
- Derive `Clone` and `Copy` for `EspTwaiFrame` (#914)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@ -93,7 +93,7 @@ use crate::{
|
|||||||
pub mod filter;
|
pub mod filter;
|
||||||
|
|
||||||
/// Structure backing the embedded_hal::can::Frame/embedded_can::Frame trait.
|
/// Structure backing the embedded_hal::can::Frame/embedded_can::Frame trait.
|
||||||
#[derive(Debug)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
pub struct EspTwaiFrame {
|
pub struct EspTwaiFrame {
|
||||||
id: Id,
|
id: Id,
|
||||||
dlc: usize,
|
dlc: usize,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user