[SX126x] Fixed units in example

This commit is contained in:
jgromes 2019-09-28 10:29:08 +02:00
parent 5cf9c50b01
commit cd169056b1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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