From cd169056b1d816edfab6cf5658cc05ae2de7e745 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 28 Sep 2019 10:29:08 +0200 Subject: [PATCH] [SX126x] Fixed units in example --- examples/SX126x/SX126x_Receive/SX126x_Receive.ino | 2 +- .../SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SX126x/SX126x_Receive/SX126x_Receive.ino b/examples/SX126x/SX126x_Receive/SX126x_Receive.ino index 1e582158..9bb83c9d 100644 --- a/examples/SX126x/SX126x_Receive/SX126x_Receive.ino +++ b/examples/SX126x/SX126x_Receive/SX126x_Receive.ino @@ -89,7 +89,7 @@ void loop() { // of the last received packet Serial.print(F("[SX1262] SNR:\t\t")); Serial.print(lora.getSNR()); - Serial.println(F(" dBm")); + Serial.println(F(" dB")); } else if (state == ERR_RX_TIMEOUT) { // timeout occurred while waiting for a packet diff --git a/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino b/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino index 3de2873e..3be3d64b 100644 --- a/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino +++ b/examples/SX126x/SX126x_Receive_Interrupt/SX126x_Receive_Interrupt.ino @@ -136,7 +136,7 @@ void loop() { // print SNR (Signal-to-Noise Ratio) Serial.print(F("[SX1262] SNR:\t\t")); Serial.print(lora.getSNR()); - Serial.println(F(" dBm")); + Serial.println(F(" dB")); } else if (state == ERR_CRC_MISMATCH) { // packet was received, but is malformed