Does this code need reviewing? #496
Closed
smithse
started this conversation in
Developers corner
Replies: 2 comments 1 reply
-
First the default values are set, and then replaced with values from the config file (if it exists / contains those values). |
Beta Was this translation helpful? Give feedback.
1 reply
-
Looks like you beat me to it! 🥇 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In reference to a previous issue https://github.com/dl9rdz/rdz_ttgo_sonde/issues/483, does this code need to be reviewed?
This entry in the config.txt file: https://github.com/dl9rdz/rdz_ttgo_sonde/blob/963f44df2e85c8a6a52aef82ffcf807bbe61bec2/RX_FSK/data/config.txt#L111 seems to be reversed here: https://github.com/dl9rdz/rdz_ttgo_sonde/blob/963f44df2e85c8a6a52aef82ffcf807bbe61bec2/RX_FSK/src/Sonde.cpp#L331
I am trying to understand the code, and would I be correct in saying that the default settings are initially written from Sonde.cpp into the config.txt file if it's missing??
Beta Was this translation helpful? Give feedback.
All reactions