mirror of
https://github.com/haileys/bark
synced 2024-11-10 05:54:15 +00:00
make device sub-key default
This commit is contained in:
parent
e2fe6cc5a3
commit
04cddc8e4b
1 changed files with 2 additions and 0 deletions
|
@ -15,12 +15,14 @@ pub struct Config {
|
|||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Source {
|
||||
#[serde(default)]
|
||||
input: Device,
|
||||
delay_ms: Option<u64>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Receive {
|
||||
#[serde(default)]
|
||||
output: Device,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue