kopia lustrzana https://github.com/jgromes/RadioLib
Bug in waitForMicroseconds prevTimingLen in V6.0.0
In Module::waitForMicroseconds if RADIOLIB_INTERRUPT_TIMING is defined the variable prevTimingLen has been incorrectly upated in v6.0.0 introducing a bug that stops compilation. Fix: renamed _prevTimingLen to prevTimingLen to match other updatespull/763/head
rodzic
8e6bd972a9
commit
f63d228d0b
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue