Skip to content

Commit

Permalink
feat: impl Default for GPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenautumns committed Jun 20, 2024
1 parent 6345e91 commit 134aa67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions small-trace-gpio/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ impl GpioTracer {
}
}

impl Default for GpioTracer {
fn default() -> Self {
Self::new()
}
}

impl Tracer for GpioTracer {
/// Writes the bits of the value to IO pins 26 to 41. Then resets the traced
/// value to 0.
Expand Down

0 comments on commit 134aa67

Please sign in to comment.