HW CI has failed 11 times since Oct 2 #1849

This commit is contained in:
rusefillc 2020-10-03 20:53:23 -04:00
parent dd7dd3b8eb
commit a9d669ba83
1 changed files with 2 additions and 0 deletions

View File

@ -358,12 +358,14 @@ bool OutputPin::getAndSet(int logicValue) {
}
void OutputPin::setOnchipValue(int electricalValue, int logicValue) {
#if EFI_PROD_CODE
if (port != GPIO_NULL) {
setPinValue(this, electricalValue, logicValue);
} else {
// even without physical pin sometimes it's nice to track logic pin value
currentLogicValue = logicValue;
}
#endif // EFI_PROD_CODE
}
void OutputPin::setValue(int logicValue) {