Skip to content

Commit f220317

Browse files
committed
Keep only v2 digital traits
1 parent 62a5dc6 commit f220317

File tree

5 files changed

+2
-685
lines changed

5 files changed

+2
-685
lines changed

src/digital/v2.rs renamed to src/digital.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//! Digital I/O
2-
//!
3-
//! Version 2 / fallible traits. Infallible implementations should set Error to `!`.
42
53
/// Single digital push-pull output pin
64
pub trait OutputPin {
@@ -57,8 +55,8 @@ pub trait ToggleableOutputPin {
5755
/// toggleable by software.
5856
///
5957
/// ```
60-
/// use embedded_hal::digital::v2::{OutputPin, StatefulOutputPin, ToggleableOutputPin};
61-
/// use embedded_hal::digital::v2::toggleable;
58+
/// use embedded_hal::digital::{OutputPin, StatefulOutputPin, ToggleableOutputPin};
59+
/// use embedded_hal::digital::toggleable;
6260
/// use std::convert::Infallible;
6361
///
6462
/// /// A virtual output pin that exists purely in software

src/digital/mod.rs

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/digital/v1.rs

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)