public builds: Czech mesh defaults (meshcore.cz wiki)
pub-release / release (push) Successful in 20m57s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-02 14:15:14 +01:00
1 parent f7887324e5
commit 88ef08c6d5
6 files changed
+80 -1

No files matched your search

+9
View File
@@ -646,6 +646,9 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
// defaults
_prefs.airtime_factor = 1.0;
#ifdef AIRTIME_FACTOR_DEFAULT // CUSTOM (TeTeHacko): e.g. 9 = 10 % duty cycle (meshcore.cz)
_prefs.airtime_factor = AIRTIME_FACTOR_DEFAULT;
#endif
_prefs.rx_delay_base = 0.0f; // off by default, was 10.0
_prefs.tx_delay_factor = 0.5f; // was 0.25f;
_prefs.direct_tx_delay_factor = 0.2f; // was zero
@@ -661,6 +664,12 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
_prefs.disable_fwd = 1;
_prefs.advert_interval = 1; // default to 2 minutes for NEW installs
_prefs.flood_advert_interval = 47; // 47 hours
#ifdef ADVERT_INTERVAL_DEFAULT // CUSTOM (TeTeHacko): same knobs as simple_repeater
_prefs.advert_interval = ADVERT_INTERVAL_DEFAULT;
#endif
#ifdef FLOOD_ADVERT_INTERVAL_DEFAULT
_prefs.flood_advert_interval = FLOOD_ADVERT_INTERVAL_DEFAULT;
#endif
_prefs.flood_max = 64;
_prefs.flood_max_unscoped = 64;
_prefs.flood_max_advert = 8;