small form change and CHANGELOG
Rust/vorago-reb1/pipeline/head This commit looks good Details

This commit is contained in:
Robin Müller 2022-06-18 22:29:55 +02:00
parent bffba52fa5
commit 37629f2ba1
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 10 additions and 3 deletions

View File

@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [unreleased]
## [v0.4.0]
- Update manifest file to have correct links and license
- Update some dependencies
- `cortex-m-rtic` (dev-depencency) to 1.1.2
- Other dependencies: Only revision has changed
## [v0.3.2]
- Bump HAL dependency to v0.5.0. Changed API, especially for IRQ handling

View File

@ -135,10 +135,10 @@ mod app {
for i in 0..read {
let val = read_buf[i] as char;
if val == '0' || val == '1' {
if val == '0' {
return PressMode::Toggle;
return if val == '0' {
PressMode::Toggle
} else {
return PressMode::Keep;
PressMode::Keep
}
}
}