Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subtree serial settings #929

Merged
merged 12 commits into from
Jul 16, 2024
6 changes: 4 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions serial-settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
miniconf = { version = "0.13", features = ["json-core"] }
miniconf = { version = "0.13", features = ["json-core", "postcard"] }
menu = { version = "0.5", features = ["echo"] }
heapless = "0.8"
embedded-io = "0.6"
yafnv = "2.0"
yafnv = "3.0"
postcard = "1"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
2 changes: 1 addition & 1 deletion serial-settings/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ where
if let Ok(true) = self.0.write_ready() {
self.0.write(buf)
} else {
Ok(0)
Ok(buf.len()) // discard!
}
}

Expand Down
Loading
Loading