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 updates
This commit is contained in:
Kevin Walton 2023-06-01 21:51:57 +01:00 committed by GitHub
parent 8e6bd972a9
commit f63d228d0b
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;