From 744c29a924f8fb7cd0dd0340e2a4fd06fdbb5223 Mon Sep 17 00:00:00 2001
From: "Christian W. Zuckschwerdt" <christian@zuckschwerdt.org>
Date: Wed, 18 Oct 2023 11:54:42 +0200
Subject: [PATCH] Change example conf file to use defaults (#2670)

---
 conf/rtl_433.example.conf | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/conf/rtl_433.example.conf b/conf/rtl_433.example.conf
index 3749c270..630037e4 100644
--- a/conf/rtl_433.example.conf
+++ b/conf/rtl_433.example.conf
@@ -6,7 +6,8 @@
 #
 # Boolean options can be true/false, yes/no, on/off, enable/disable, or 1/0
 #
-# All options will be applied in the order given, overwriting previous values
+# All options will be applied in the order given, overwriting previous values.
+# Options given on the command line are then applied left to right.
 #
 # Config files can be nested/stacked (use multiple -c and config_file = ).
 #
@@ -36,14 +37,14 @@
 #   [-d "" Open default SoapySDR device
 #   [-d driver=rtlsdr Open e.g. specific SoapySDR device
 # default is "0" (RTL-SDR) or "" (SoapySDR)
-device        0
+#device        0
 
 # as command line option:
 #   [-g <gain>] (default: 0 for auto)
 # For RTL-SDR: gain in tenths of dB ("0" is auto).
 # For SoapySDR: gain in dB for automatic distribution ("" is auto), or string of gain elements.
 # E.g. "LNA=20,TIA=8,PGA=2" for LimeSDR.
-gain          0
+#gain          0
 
 # as command line option:
 #   [-t <settings>] apply a list of keyword=value settings for SoapySDR devices
@@ -53,27 +54,27 @@ gain          0
 # as command line option:
 #   [-f <frequency>] [-f...] Receive frequency(s) (default: 433920000 Hz)
 # default is "433.92M", other reasonable values are 315M, 345M, 915M and 868M
-frequency     433.92M
+#frequency     433.92M
 
 # as command line option:
 #   [-H <seconds>] Hop interval for polling of multiple frequencies (default: 600 seconds)
 # default is "600" seconds, only used when multiple frequencies are given
-hop_interval  600
+#hop_interval  600
 
 # as command line option:
 #   [-p <ppm_error] Correct rtl-sdr tuner frequency offset error (default: 0)
 # default is "0"
-ppm_error     0
+#ppm_error     0
 
 # as command line option:
 #   [-s <sample rate>] Set sample rate (default: 250000 Hz)
 # default is "250k", other valid settings are 1024k, 2048k, 3200k
-sample_rate   250k
+#sample_rate   250k
 
 # as command line option:
 #   [-D restart | pause | quit | manual] Input device run mode options.
 # default is "quit"
-device_mode   quit
+#device_mode   quit
 
 ## Demodulator options
 
@@ -115,7 +116,7 @@ pulse_detect magest
 
 # as command line option:
 #   [-n <value>] Specify number of samples to take (each sample is 2 bytes: 1 each of I & Q)
-samples_to_read 0
+#samples_to_read 0
 
 ## Analyze/Debug options
 
@@ -125,7 +126,7 @@ samples_to_read 0
 
 # as command line option:
 #   [-A] Pulse Analyzer. Enable pulse analysis and decode attempt
-analyze_pulses false
+#analyze_pulses false
 
 # as command line option:
 #   [-b] Out block size: 262144 (default)
@@ -164,7 +165,7 @@ report_meta protocol
 # as command line option:
 #   [-S none|all|unknown|known] Signal auto save. Creates one file per signal.
 #     Note: Saves raw I/Q samples (uint8 pcm, 2 channel). Preferred mode for generating test files.
-signal_grabber none
+#signal_grabber none
 
 # as command line option:
 #   [-r <filename>] Read data from input file instead of a receiver
@@ -229,7 +230,7 @@ convert si
 
 # as command line option:
 #   [-E hop | quit] Hop/Quit after outputting successful event(s)
-stop_after_successful_events false
+#stop_after_successful_events false
 
 ## Protocols to enable (command line option "-R")