We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf1910 commit 2ec1247Copy full SHA for 2ec1247
lib/cu_cp/cell_meas_manager/cell_meas_manager_helpers.cpp
@@ -18,9 +18,11 @@ using namespace srs_cu_cp;
18
19
void srsran::srs_cu_cp::log_cells(const srslog::basic_logger& logger, const cell_meas_manager_cfg& cfg)
20
{
21
- logger.debug("Configured cells:");
22
- for (const auto& cell : cfg.cells) {
23
- logger.debug(" - {}", cell.second);
+ if (!cfg.cells.empty()) {
+ logger.debug("Configured cells:");
+ for (const auto& cell : cfg.cells) {
24
+ logger.debug(" - {}", cell.second);
25
+ }
26
}
27
28
0 commit comments