auto-sync
This commit is contained in:
parent
8facb8491a
commit
3a44f44759
|
@ -37,6 +37,7 @@ void chDbgPanic3(const char *msg, const char * file, int line) {
|
|||
/**
|
||||
* low-level function is used here to reduce stack usage
|
||||
*/
|
||||
// todo: extract a macro for this
|
||||
palWritePad(LED_ERROR_PORT, LED_ERROR_PIN, 1);
|
||||
turnAllPinsOff();
|
||||
#if EFI_HD44780_LCD
|
||||
|
|
|
@ -230,6 +230,8 @@ extern engine_pins_s enginePins;
|
|||
void firmwareError(const char *errorMsg, ...) {
|
||||
if (hasFirmwareErrorFlag)
|
||||
return;
|
||||
// todo: extract a macro and use the same macro here and in
|
||||
// the other place where we have palWritePad(LED_ERROR_PORT, LED_ERROR_PIN, 1);
|
||||
enginePins.errorLedPin.setValue(1);
|
||||
turnAllPinsOff();
|
||||
hasFirmwareErrorFlag = TRUE;
|
||||
|
|
Loading…
Reference in New Issue