mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-01 20:38:19 +00:00
runtime guard agc reset if rx duty cycle is enabled
This commit is contained in:
@@ -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