Skip to content

Commit

Permalink
Make Symbol Clone & Copy (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidVentura authored Mar 6, 2024
1 parent 9e364d5 commit e3d3205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ unsafe impl<'d> Send for TxRmtDriver<'d> {}
/// and space (low) periods in either order or a fixed level if both
/// halves have the same [`PinState`]. This is just a newtype over the
/// IDF's `rmt_item32_t` or `rmt_symbol_word_t` type.
#[derive(Clone, Copy)]
pub struct Symbol(rmt_item32_t);

impl Symbol {
Expand Down

0 comments on commit e3d3205

Please sign in to comment.