aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index d54e01a..7700b45 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -69,6 +69,7 @@ impl Default for BeaconConfig {
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Config {
+ pub freq: u32, // kHz
pub callsign: String,
pub ssid: u8,
#[serde(default)]
@@ -81,6 +82,7 @@ pub struct Config {
impl Default for Config {
fn default() -> Self {
Config {
+ freq: 430500,
callsign: "CHANGEME".to_owned(),
ssid: 0,
icon: 0,