Derive Clone and Copy for EspTwaiFrame (#909)

* Derive Clone and Copy for EspTwaiFrame

* Update CHANGELOG.md
This commit is contained in:
Paul Paterson 2023-11-08 22:36:15 -05:00 committed by GitHub
parent 62894e3f84
commit 594bc65793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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,