| 291 | } |
| 292 | |
| 293 | static float clampDbmBottom(float bottomDbm) |
| 294 | { |
| 295 | if (!std::isfinite(bottomDbm)) { |
| 296 | return kMinDisplayDbm; |
| 297 | } |
| 298 | return std::clamp(bottomDbm, |
| 299 | kMinDisplayDbm, |
| 300 | kMaxDisplayDbm - kMinDisplayRangeDb); |
| 301 | } |
| 302 | |
| 303 | static float clampDbmRangeForBottom(float bottomDbm, float rangeDb) |
| 304 | { |
no outgoing calls
no test coverage detected