mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-24 13:12:29 +00:00
runtime guard agc reset if rx duty cycle is enabled
This commit is contained in:
1 parent
85c60e613b
commit
7ecf647af8
1 file changed
+3
@@ -152,6 +152,9 @@ protected:
|
||||
return _prefs.interference_threshold;
|
||||
}
|
||||
int getAGCResetInterval() const override {
|
||||
if (_prefs.rx_duty_cycle) {
|
||||
return 0;
|
||||
}
|
||||
return ((int)_prefs.agc_reset_interval) * 4000;
|
||||
}
|
||||
uint8_t getExtraAckTransmitCount() const override {
|
||||
|
||||
Reference in new issue
Block a user