update zephyr

This commit is contained in:
liquidraver
2026-03-23 08:56:21 +01:00
parent 249a446877
commit c9013d85d4
12 changed files with 266 additions and 171 deletions
+2 -1
View File
@@ -185,7 +185,8 @@ void CompanionMesh::begin()
BaseChatMesh::begin();
#ifdef CONFIG_ZEPHCORE_APC
_power_ctrl.setSF(prefs.sf);
_power_ctrl.setTargetMargin(20); /* companions are mobile — more conservative */
_power_ctrl.setTargetMargin(prefs.apc_margin);
_power_ctrl.setEnabled(prefs.apc_enabled != 0);
#endif
}
+2
View File
@@ -809,6 +809,8 @@ void RepeaterMesh::begin(RepeaterDataStore* store) {
_contention.setBackoffMultiplier(_prefs.backoff_multiplier);
#ifdef CONFIG_ZEPHCORE_APC
_power_ctrl.setSF(_prefs.sf);
_power_ctrl.setTargetMargin(_prefs.apc_margin);
_power_ctrl.setEnabled(_prefs.apc_enabled != 0);
#endif
acl.load(_store->getAclPath(), self_id);
region_map.load(_store->getRegionsPath());