From b657bc35219d0928dfe585c1c076bca382619e30 Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 3 Jan 2020 15:07:54 +0100 Subject: [PATCH] [SX126x] Fixed reset delay duration --- src/modules/SX126x/SX126x.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/SX126x/SX126x.cpp b/src/modules/SX126x/SX126x.cpp index 2dce29c0..7514b163 100644 --- a/src/modules/SX126x/SX126x.cpp +++ b/src/modules/SX126x/SX126x.cpp @@ -178,10 +178,9 @@ int16_t SX126x::reset(bool verify) { // run the reset sequence Module::pinMode(_mod->getRst(), OUTPUT); Module::digitalWrite(_mod->getRst(), LOW); - delay(100); + delayMicroseconds(150); Module::digitalWrite(_mod->getRst(), HIGH); Module::pinMode(_mod->getRst(), INPUT); - delay(100); // return immediately whe verification is disabled if(!verify) {