[SX126x] Fixed units in example
This commit is contained in:
parent
5cf9c50b01
commit
cd169056b1
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ void loop() {
|
||||||
// of the last received packet
|
// of the last received packet
|
||||||
Serial.print(F("[SX1262] SNR:\t\t"));
|
Serial.print(F("[SX1262] SNR:\t\t"));
|
||||||
Serial.print(lora.getSNR());
|
Serial.print(lora.getSNR());
|
||||||
Serial.println(F(" dBm"));
|
Serial.println(F(" dB"));
|
||||||
|
|
||||||
} else if (state == ERR_RX_TIMEOUT) {
|
} else if (state == ERR_RX_TIMEOUT) {
|
||||||
// timeout occurred while waiting for a packet
|
// timeout occurred while waiting for a packet
|
||||||
|
|
|
@ -136,7 +136,7 @@ void loop() {
|
||||||
// print SNR (Signal-to-Noise Ratio)
|
// print SNR (Signal-to-Noise Ratio)
|
||||||
Serial.print(F("[SX1262] SNR:\t\t"));
|
Serial.print(F("[SX1262] SNR:\t\t"));
|
||||||
Serial.print(lora.getSNR());
|
Serial.print(lora.getSNR());
|
||||||
Serial.println(F(" dBm"));
|
Serial.println(F(" dB"));
|
||||||
|
|
||||||
} else if (state == ERR_CRC_MISMATCH) {
|
} else if (state == ERR_CRC_MISMATCH) {
|
||||||
// packet was received, but is malformed
|
// packet was received, but is malformed
|
||||||
|
|
Loading…
Add table
Reference in a new issue