Commit 4c984df1 authored by Joanne Hugé's avatar Joanne Hugé

promise/plugin: improve check-rx-saturated messages

parent 453dce5f
......@@ -36,9 +36,13 @@ class RunPromise(JSONPromise):
if not max_rx_list:
self.logger.error("No RX samples data available")
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:
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):
"""
......
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