Format code

This commit is contained in:
Joris Bremond committed 2022-06-12 14:24:37 +02:00
1 parent 63e9026191
commit a49a9d248f
4 files changed
+3 -7

No files matched your search

-2
View File
@@ -326,8 +326,6 @@ pub struct RfAlarmCfg {
pub timeBlockList: String,
}
/// TalkConfig xml
#[derive(PartialEq, Eq, Default, Debug, YaDeserialize, YaSerialize)]
pub struct TalkConfig {
+1 -1
View File
@@ -12,8 +12,8 @@ mod ledstate;
mod login;
mod logout;
mod ping;
mod reboot;
mod pirstate;
mod reboot;
mod resolution;
mod stream;
mod talk;
+1 -3
View File
@@ -93,8 +93,6 @@ impl BcCamera {
}
}
/// This is a convience function to control the PIR status
/// True is on and false is off
pub fn pir_set(&mut self, state: bool) -> Result<()> {
@@ -114,5 +112,5 @@ pub enum PirState {
/// Turn the PIR on
On,
/// Turn the PIR off
Off,
Off,
}
+1 -1
View File
@@ -16,8 +16,8 @@ use validator::Validate;
mod cmdline;
mod config;
mod reboot;
mod pir;
mod reboot;
mod rtsp;
mod statusled;
mod talk;