Commit 9b4bc395 authored by Kirill Smelkov's avatar Kirill Smelkov

Revert "Revert "promise/plugin: improve check-rx-saturated messages""

This reverts commit 8e4c509d.
parent 3d4eb029
...@@ -38,9 +38,13 @@ class RunPromise(JSONPromise): ...@@ -38,9 +38,13 @@ class RunPromise(JSONPromise):
if not max_rx_list: if not max_rx_list:
self.logger.error("No RX samples data available") self.logger.error("No RX samples data available")
elif saturated: elif saturated:
self.logger.error("RX antenna saturated, please lower rx_gain") self.logger.error(
"RX Max dBFS: {} (RX antennas saturated, please lower rx_gain)".format(
", ".join(max_rx_list)))
else: else:
self.logger.info("No saturation detected on RX antenna") self.logger.info(
"RX Max dBFS: {} (No saturation detected on RX antennas)".format(
", ".join(max_rx_list)))
def test(self): def test(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment