Some HAN serial port debugging

This commit is contained in:
Gunnar Skjold
2023-04-07 08:36:42 +02:00
parent 68bbfd6527
commit b7854baa6d
5 changed files with 56 additions and 14 deletions

View File

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