minor tweak
This commit is contained in:
parent
56b5076230
commit
b4bf834c39
@ -164,7 +164,6 @@ impl fmt::Display for CameraError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Ims100BatchHandler {
|
pub struct Ims100BatchHandler {
|
||||||
id: UniqueApidTargetId,
|
id: UniqueApidTargetId,
|
||||||
@ -175,7 +174,6 @@ pub struct Ims100BatchHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
#[allow(dead_code)]
|
|
||||||
impl Ims100BatchHandler {
|
impl Ims100BatchHandler {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
id: UniqueApidTargetId,
|
id: UniqueApidTargetId,
|
||||||
@ -306,6 +304,7 @@ impl Ims100BatchHandler {
|
|||||||
Ok(output)
|
Ok(output)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn list_current_images(&self) -> Result<Vec<String>, CameraError> {
|
pub fn list_current_images(&self) -> Result<Vec<String>, CameraError> {
|
||||||
let output = Command::new("ls").arg("-l").arg("*.png").output()?;
|
let output = Command::new("ls").arg("-l").arg("*.png").output()?;
|
||||||
|
|
||||||
@ -319,6 +318,7 @@ impl Ims100BatchHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn take_picture_from_str(
|
pub fn take_picture_from_str(
|
||||||
&mut self,
|
&mut self,
|
||||||
R: &str,
|
R: &str,
|
||||||
|
Loading…
Reference in New Issue
Block a user