[SX126x] Fixed reset delay duration
This commit is contained in:
parent
fd1623e382
commit
b657bc3521
1 changed files with 1 additions and 2 deletions
|
@ -178,10 +178,9 @@ int16_t SX126x::reset(bool verify) {
|
||||||
// run the reset sequence
|
// run the reset sequence
|
||||||
Module::pinMode(_mod->getRst(), OUTPUT);
|
Module::pinMode(_mod->getRst(), OUTPUT);
|
||||||
Module::digitalWrite(_mod->getRst(), LOW);
|
Module::digitalWrite(_mod->getRst(), LOW);
|
||||||
delay(100);
|
delayMicroseconds(150);
|
||||||
Module::digitalWrite(_mod->getRst(), HIGH);
|
Module::digitalWrite(_mod->getRst(), HIGH);
|
||||||
Module::pinMode(_mod->getRst(), INPUT);
|
Module::pinMode(_mod->getRst(), INPUT);
|
||||||
delay(100);
|
|
||||||
|
|
||||||
// return immediately whe verification is disabled
|
// return immediately whe verification is disabled
|
||||||
if(!verify) {
|
if(!verify) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue