============================================================================= enableAutoPower() - call with target RSSI, use 0 to disable (default), any other value with turn on autotransmit control. ============================================================================= TomWS1: New methods to address autoPower control
| 171 | //============================================================================= |
| 172 | // TomWS1: New methods to address autoPower control |
| 173 | void RFM69_ATC::enableAutoPower(int16_t targetRSSI){ // TomWS1: New method to enable/disable auto Power control |
| 174 | _targetRSSI = targetRSSI; // no logic here, just set the value (if non-zero, then enabled), caller's responsibility to use a reasonable value |
| 175 | } |
| 176 | |
| 177 | int16_t RFM69_ATC::getTargetRssi() { |
| 178 | return _targetRSSI; |
nothing calls this directly
no outgoing calls
no test coverage detected