Skip to content

Commit

Permalink
temporary fix to CEL
Browse files Browse the repository at this point in the history
  • Loading branch information
dynfer committed Jan 7, 2025
1 parent cc89b3c commit b0ee0ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firmware/controllers/core/error_handling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "backup_ram.h"

#include "malfunction_central.h"

static critical_msg_t warningBuffer;
static critical_msg_t criticalErrorMessageBuffer;

Expand Down Expand Up @@ -228,6 +230,7 @@ void firmwareError(ObdCode code, const char *fmt, ...) {
palWritePad(criticalErrorLedPort, criticalErrorLedPin, criticalErrorLedState);
turnAllPinsOff();
enginePins.communicationLedPin.setValue(1);
setError(true, code);

if (indexOf(fmt, '%') == -1) {
/**
Expand Down

0 comments on commit b0ee0ec

Please sign in to comment.