Skip to content

Commit d6a623d

Browse files
committed
Update version to 2.1.1
2 parents d7bdd93 + d904ec2 commit d6a623d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

keywords.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ signalRssi KEYWORD2
7272
rssiInst KEYWORD2
7373
rssi KEYWORD2
7474
getError KEYWORD2
75+
random KEYWORD2
7576

7677
# Instances (KEYWORD2)
7778

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# library.properties
22
name=LoRaRF
3-
version=2.1.0
3+
version=2.1.1
44
author=Chandra Wijaya Sentosa <chandra.w.sentosa@gmail.com>
55
maintainer=Chandra Wijaya Sentosa <chandra.w.sentosa@gmail.com>
66
sentence=Arduino LoRa-RF library used for transmitting and receiving data using LoRa module with Semtech SX126x series, SX127x series, or LLCC68.

src/SX126x_driver.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ void sx126x_reset(int8_t reset)
2323
digitalWrite(reset, LOW);
2424
delayMicroseconds(500);
2525
digitalWrite(reset, HIGH);
26+
delayMicroseconds(100);
2627
}
2728

2829
void sx126x_begin()
@@ -374,9 +375,9 @@ void sx126x_resetStats()
374375

375376
void sx126x_getDeviceErrors(uint16_t* opError)
376377
{
377-
uint8_t buf[2];
378-
sx126x_transfer(0x17, buf, 2);
379-
*opError = buf[1];
378+
uint8_t buf[3];
379+
sx126x_transfer(0x17, buf, 3);
380+
*opError = buf[2];
380381
}
381382

382383
void sx126x_clearDeviceErrors()

0 commit comments

Comments
 (0)