Skip to content

Commit d998152

Browse files
committed
Replace clear_bit with set_bit, bumped vers, yank 2.5
1 parent dfdf554 commit d998152

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
77

8-
## [v0.2.5] - 2018-11-03
8+
## [v0.2.6] - 2018-11-03
99

1010
## Fixed TSC flags not getting cleared by the `aquire` tsc method.
1111

12+
## [v0.2.5] - YANKED
13+
1214
## [v0.2.4] - 2018-10-32
1315

1416
### Fixed
@@ -58,8 +60,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5860

5961
- Initial release
6062

61-
[Unreleased]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.5...HEAD
62-
[v0.2.4]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.4...v0.2.5
63+
[Unreleased]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.6...HEAD
64+
[v0.2.6]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.5...v0.2.6
65+
[v0.2.5]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.4...v0.2.5
6366
[v0.2.4]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.3...v0.2.4
6467
[v0.2.3]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.2...v0.2.3
6568
[v0.2.2]: https://github.com/mabezdev/stm32l432xx-hal/compare/v0.2.1...v0.2.2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stm32l432xx-hal"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Scott Mabin <[email protected]>"]
55
description = "Hardware abstraction layer for the stm32l432xx chips"
66
keywords = ["no-std", "stm32l432xx", "stm32l432kc", "embedded", "embedded-hal"]

src/tsc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ impl<SPIN> Tsc<SPIN> {
201201
let result = loop {
202202
let isr = self.tsc.isr.read();
203203
if isr.eoaf().bit_is_set() {
204-
self.tsc.icr.write(|w| { w.eoaic().clear_bit() });
204+
self.tsc.icr.write(|w| { w.eoaic().set_bit() });
205205
break Ok(self.read_unchecked())
206206
} else if isr.mcef().bit_is_set() {
207-
self.tsc.icr.write(|w| { w.mceic().clear_bit() });
207+
self.tsc.icr.write(|w| { w.mceic().set_bit() });
208208
break Err(Error::MaxCountError)
209209
}
210210
};

0 commit comments

Comments
 (0)