[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
examples/SX126x
SX126x_Receive
SX126x_Receive_Interrupt

View file

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

View file

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