From cd061d46e603d71236ba7c6160f891ec0305aa66 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 30 Apr 2021 12:33:35 +0200 Subject: [PATCH 1/2] metrics_stdout: remove obsolete if --- srsue/src/metrics_stdout.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/srsue/src/metrics_stdout.cc b/srsue/src/metrics_stdout.cc index 43ec1f55b..6818a019e 100644 --- a/srsue/src/metrics_stdout.cc +++ b/srsue/src/metrics_stdout.cc @@ -237,11 +237,7 @@ std::string metrics_stdout::float_to_eng_string(float f, int digits) } const double scaled = f * pow(1000.0, -degree); - if (degree != 0) { - return float_to_string(scaled, digits) + factor; - } else { - return float_to_string(scaled, digits) + factor; - } + return float_to_string(scaled, digits) + factor; } } // namespace srsue From 566d985472f13f8b7cbaa3d4902dbc3bb15fd475 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 30 Apr 2021 12:34:46 +0200 Subject: [PATCH 2/2] readme: update link to mailing list --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7124140cd..33cee84f9 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ For license details, see LICENSE file. Support ======= -Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srsran-users +Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srslte-users