AT client change only: correct protection against uPortGetTickTimeMs() wrap.
In commit I introduced some changes to protect against tick time wrapping in the AT client, one of which (the one in bufferMatchOneUrc()) was not required and potentially problematic; this commit fixes that.
@@ -1671,9 +1671,7 @@ static bool bufferMatchOneUrc(uAtClientInstance_t *pClient)
// Put the error state back again
// Add the amount of time spent in the URC
// world to the start time
- if (uPortGetTickTimeMs() - now > 0) {
pClient->lockTimeMs += uPortGetTickTimeMs() - now;
- }
found = true;
}
}
