Skip to content

Commit

Permalink
Merge pull request #929 from quartiq/subtree-serial-settings
Browse files Browse the repository at this point in the history
subtree serial settings
  • Loading branch information
jordens authored Jul 16, 2024
2 parents 5452272 + 8c4385f commit 0bcb60c
Show file tree
Hide file tree
Showing 8 changed files with 505 additions and 388 deletions.
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

0 comments on commit 0bcb60c

Please sign in to comment.