kiss_modem: default AGC reset interval to 32 s

The AGC interval is set in 4 s steps, matching MeshCore's
agc.reset.interval, so the old 30 s default could not be restored by a
host: setting 30 gives 28. Found on hardware. Use 32 s, the nearest
multiple of 4 above it.
This commit is contained in:
agessaman committed 2026-09-23 18:51:03 -07:00
1 parent 09ee2e1223
commit bc4d0227fe
3 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@
/* FEM requests are answered strictly in arrival order; this many may wait (e.g. during a TX) */
#define KISS_FEM_OP_QUEUE_DEPTH 4
#define KISS_AGC_RESET_DEFAULT_SEC 30
#define KISS_AGC_RESET_DEFAULT_SEC 32 // a multiple of the 4 s step, so hosts can set it back
#define KISS_AGC_RESET_MAX_SEC 1020
#define KISS_AGC_RESET_STEP_SEC 4