Fixes to documentation
This commit is contained in:
2 files changed
+2
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user