diff --git a/lib/examples/cell_search_modmobmap.c b/lib/examples/cell_search_modmobmap.c index ae886bf04..d3142f62e 100644 --- a/lib/examples/cell_search_modmobmap.c +++ b/lib/examples/cell_search_modmobmap.c @@ -102,7 +102,7 @@ void parse_args(int argc, char** argv) rf_gain = strtof(argv[optind], NULL); break; case 'v': - srsran_verbose++; + increase_srsran_verbose_level(); break; default: usage(argv[0]); diff --git a/lib/examples/cell_search_nbiot_modmobmap.c b/lib/examples/cell_search_nbiot_modmobmap.c index 95d362e96..483679844 100644 --- a/lib/examples/cell_search_nbiot_modmobmap.c +++ b/lib/examples/cell_search_nbiot_modmobmap.c @@ -109,7 +109,7 @@ void parse_args(int argc, char** argv) scan_raster_offset = true; break; case 'v': - srsran_verbose++; + increase_srsran_verbose_level(); break; default: usage(argv[0]);