Fixes to documentation

This commit is contained in:
QuantumEntangledAndy committed 2021-08-31 20:25:13 +07:00
1 parent cc4e0dadbd
commit 58b1e3145a
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -24,10 +24,7 @@ pub struct FileSubscriber {
}
impl FileSubscriber {
/// Creates a binary subsciber from a BcSubscrption.
/// When reading the next packet it will skip over multiple
/// Bc packets to fill the binary buffer so ensure you
/// only want binary packets when calling read
/// Creates a file subsciber from a list of files
pub fn from_files<P: AsRef<Path>>(paths: Vec<P>) -> FileSubscriber {
FileSubscriber {
files: paths
+1 -1
View File
@@ -32,7 +32,7 @@ impl BcCamera {
} else {
Err(Error::UnintelligibleReply {
reply: msg,
why: "The camera did not except the TalkConfig xml",
why: "The camera did not accept the reboot command",
})
}
}