bootloader not well? fix #1638

This commit is contained in:
rusefi 2020-07-25 19:04:15 -04:00
parent f9890edb3b
commit a81a5e3c04
1 changed files with 2 additions and 0 deletions

View File

@ -323,7 +323,9 @@ bool OutputPin::getAndSet(int logicValue) {
}
void OutputPin::setValue(int logicValue) {
#if ENABLE_PERF_TRACE
ScopePerf perf(PE::OutputPinSetValue);
#endif // ENABLE_PERF_TRACE
#if EFI_PROD_CODE
efiAssertVoid(CUSTOM_ERR_6621, modePtr!=NULL, "pin mode not initialized");