refactor: simplify default configuration

Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-07-29 11:59:46 +01:00
parent 4090fee0a6
commit 89849c6e04

View file

@ -42,9 +42,6 @@ const DEFAULT_CONFIG: &str = r#"
# Hardware offset in milliseconds for correcting capture latency. # Hardware offset in milliseconds for correcting capture latency.
hardwareOffsetMs: 20 hardwareOffsetMs: 20
# Default nudge in milliseconds for adjtimex control.
defaultNudgeMs: 2
# Time-turning offsets. All values are added to the incoming LTC time. # Time-turning offsets. All values are added to the incoming LTC time.
# These can be positive or negative. # These can be positive or negative.
timeturnerOffset: timeturnerOffset:
@ -52,7 +49,6 @@ timeturnerOffset:
minutes: 0 minutes: 0
seconds: 0 seconds: 0
frames: 0 frames: 0
milliseconds: 0
"#; "#;
/// If no `config.yml` exists alongside the binary, write out the default. /// If no `config.yml` exists alongside the binary, write out the default.