mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* fix for when AGC reset is disabled (interval = 0)
This commit is contained in:
parent
32ca3dc9d0
commit
466bd6d596
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ void Dispatcher::loop() {
|
|||
next_agc_reset_time = futureMillis(getAGCResetInterval());
|
||||
}
|
||||
|
||||
if (millisHasNowPassed(next_agc_reset_time)) {
|
||||
if (getAGCResetInterval() > 0 && millisHasNowPassed(next_agc_reset_time)) {
|
||||
_radio->resetAGC();
|
||||
next_agc_reset_time = futureMillis(getAGCResetInterval());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue