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
pull/763/head
Kevin Walton 2023-06-01 21:51:57 +01:00 zatwierdzone przez GitHub
rodzic 8e6bd972a9
commit f63d228d0b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;