Increased RX serial buff

This commit is contained in:
Gunnar Skjold
2023-04-07 09:00:53 +02:00
parent 3e3d61912d
commit 088e5645c7
2 changed files with 2 additions and 2 deletions

View File

@@ -219,7 +219,7 @@ bool AmsData::isTwoPhase() {
}
int8_t AmsData::getLastError() {
return lastErrorCount > 1 ? lastError : 0;
return lastErrorCount > 2 ? lastError : 0;
}
void AmsData::setLastError(int8_t lastError) {