Format code
This commit is contained in:
1 parent
63e9026191
commit
a49a9d248f
4 files changed
+3
-7
No files matched your search
@@ -326,8 +326,6 @@ pub struct RfAlarmCfg {
|
||||
pub timeBlockList: String,
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// TalkConfig xml
|
||||
#[derive(PartialEq, Eq, Default, Debug, YaDeserialize, YaSerialize)]
|
||||
pub struct TalkConfig {
|
||||
|
||||
@@ -12,8 +12,8 @@ mod ledstate;
|
||||
mod login;
|
||||
mod logout;
|
||||
mod ping;
|
||||
mod reboot;
|
||||
mod pirstate;
|
||||
mod reboot;
|
||||
mod resolution;
|
||||
mod stream;
|
||||
mod talk;
|
||||
|
||||
@@ -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
@@ -16,8 +16,8 @@ use validator::Validate;
|
||||
|
||||
mod cmdline;
|
||||
mod config;
|
||||
mod reboot;
|
||||
mod pir;
|
||||
mod reboot;
|
||||
mod rtsp;
|
||||
mod statusled;
|
||||
mod talk;
|
||||
|
||||
Reference in new issue
Block a user