fix: preserve comments in config.yml when saving

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 14:42:33 +01:00
parent 9a97027870
commit 68dc16344a
2 changed files with 26 additions and 2 deletions

View file

@ -47,6 +47,9 @@ hardwareOffsetMs: 20
# nudge the clock to keep it aligned with the LTC source.
autoSyncEnabled: false
# Default nudge in milliseconds for adjtimex control.
defaultNudgeMs: 2
# Time-turning offsets. All values are added to the incoming LTC time.
# These can be positive or negative.
timeturnerOffset:
@ -54,6 +57,7 @@ timeturnerOffset:
minutes: 0
seconds: 0
frames: 0
milliseconds: 0
"#;
/// If no `config.yml` exists alongside the binary, write out the default.