diff --git a/firmware/controllers/algo/obd_error_codes.h b/firmware/controllers/algo/obd_error_codes.h index 7af3554e4f..faa793ea01 100644 --- a/firmware/controllers/algo/obd_error_codes.h +++ b/firmware/controllers/algo/obd_error_codes.h @@ -1711,10 +1711,10 @@ typedef enum { CUSTOM_OBD_40 = 6040, CUSTOM_OBD_41 = 6041, CUSTOM_OBD_42 = 6042, - CUSTOM_OBD_43 = 6043, + CUSTOM_OBD_MMC_ERROR = 6043, CUSTOM_OBD_44 = 6044, CUSTOM_OBD_45 = 6045, - CUSTOM_OBD_46 = 6046, + CUSTOM_OBD_SKIPPED_FUEL = 6046, CUSTOM_OBD_47 = 6047, CUSTOM_OBD_48 = 6048, CUSTOM_OBD_49 = 6049, diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index e1fd17fe26..6f096fcbcb 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -152,7 +152,7 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(int eventIndex, bool limitedF if (rpm > 2 * engineConfiguration->cranking.rpm) { const char *outputName = event->output->name; if (prevOutputName == outputName) { - warning(CUSTOM_OBD_46, "looks like skipped fuel event"); + warning(CUSTOM_OBD_SKIPPED_FUEL, "looks like skipped fuel event"); } prevOutputName = outputName; } diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index 21b6b6a29d..acf378cca5 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -283,7 +283,7 @@ static void MMCmount(void) { // Performs the initialization procedure on the inserted card. lockSpi(SPI_NONE); if (mmcConnect(&MMCD1) != CH_SUCCESS) { - warning(CUSTOM_OBD_43, "Can't connect or mount MMC/SD"); + warning(CUSTOM_OBD_MMC_ERROR, "Can't connect or mount MMC/SD"); unlockSpi(); return;