small form change and CHANGELOG
All checks were successful
Rust/vorago-reb1/pipeline/head This commit looks good
All checks were successful
Rust/vorago-reb1/pipeline/head This commit looks good
This commit is contained in:
parent
bffba52fa5
commit
37629f2ba1
@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## [unreleased]
|
## [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]
|
## [v0.3.2]
|
||||||
|
|
||||||
- Bump HAL dependency to v0.5.0. Changed API, especially for IRQ handling
|
- Bump HAL dependency to v0.5.0. Changed API, especially for IRQ handling
|
||||||
|
@ -135,10 +135,10 @@ mod app {
|
|||||||
for i in 0..read {
|
for i in 0..read {
|
||||||
let val = read_buf[i] as char;
|
let val = read_buf[i] as char;
|
||||||
if val == '0' || val == '1' {
|
if val == '0' || val == '1' {
|
||||||
if val == '0' {
|
return if val == '0' {
|
||||||
return PressMode::Toggle;
|
PressMode::Toggle
|
||||||
} else {
|
} else {
|
||||||
return PressMode::Keep;
|
PressMode::Keep
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user