Merge pull request #763 from KevWal/patch-1

Bug in waitForMicroseconds prevTimingLen in V6.0.0
This commit is contained in:
Jan Gromeš 2023-06-04 13:37:57 +02:00 committed by GitHub
commit d8fa707d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -366,7 +366,7 @@ void Module::waitForMicroseconds(uint32_t start, uint32_t len) {
#if defined(RADIOLIB_INTERRUPT_TIMING)
(void)start;
if((this->TimerSetupCb != nullptr) && (len != this->prevTimingLen)) {
_prevTimingLen = len;
prevTimingLen = len;
this->TimerSetupCb(len);
}
this->TimerFlag = false;