Skip to content

Commit d82d1de

Browse files
bors[bot]japaric
andcommitted
7: move to v0.2.0 of embedded-hal r=japaric a=japaric Co-authored-by: Jorge Aparicio <[email protected]>
2 parents e488d5d + 2ce1ee4 commit d82d1de

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ before_cache:
3535

3636
branches:
3737
only:
38-
- auto
39-
- master
40-
- try
38+
- trying
39+
- staging
4140

4241
notifications:
4342
email:

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.2.0] - 2018-05-14
11+
12+
### Changed
13+
14+
- [breaking-change] moved to v0.2.x of `embedded-hal`.
15+
1016
## [v0.1.1] - 2018-02-13
1117

1218
### Added

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ keywords = ["Linux", "hal"]
66
license = "MIT OR Apache-2.0"
77
name = "linux-embedded-hal"
88
repository = "https://github.com/japaric/linux-embedded-hal"
9-
version = "0.1.1"
9+
version = "0.2.0"
1010

1111
[dependencies]
12-
embedded-hal = "0.1.0"
12+
embedded-hal = "0.2.0"
1313
i2cdev = "0.3.1"
1414
spidev = "0.3.0"
1515
sysfs_gpio = "0.5.1"

src/lib.rs

-8
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ impl Pin {
110110
}
111111

112112
impl hal::digital::OutputPin for Pin {
113-
fn is_low(&self) -> bool {
114-
unimplemented!()
115-
}
116-
117-
fn is_high(&self) -> bool {
118-
unimplemented!()
119-
}
120-
121113
fn set_low(&mut self) {
122114
self.0.set_value(0).unwrap()
123115
}

0 commit comments

Comments
 (0)