Merge pull request #763 from KevWal/patch-1
Bug in waitForMicroseconds prevTimingLen in V6.0.0
This commit is contained in:
commit
d8fa707d5f
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ void Module::waitForMicroseconds(uint32_t start, uint32_t len) {
|
||||||
#if defined(RADIOLIB_INTERRUPT_TIMING)
|
#if defined(RADIOLIB_INTERRUPT_TIMING)
|
||||||
(void)start;
|
(void)start;
|
||||||
if((this->TimerSetupCb != nullptr) && (len != this->prevTimingLen)) {
|
if((this->TimerSetupCb != nullptr) && (len != this->prevTimingLen)) {
|
||||||
_prevTimingLen = len;
|
prevTimingLen = len;
|
||||||
this->TimerSetupCb(len);
|
this->TimerSetupCb(len);
|
||||||
}
|
}
|
||||||
this->TimerFlag = false;
|
this->TimerFlag = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue