diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index 5d5d675902..033cf8b139 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -945,7 +945,9 @@ static void printAllInfo(void) { } static void getValue(const char *paramStr) { - if (strEqualCaseInsensitive(paramStr, "warningPeriod")) { + if (strEqualCaseInsensitive(paramStr, "isCJ125Enabled")) { + scheduleMsg(&logger, "isCJ125Enabled=%d", boardConfiguration->isCJ125Enabled); + } else if (strEqualCaseInsensitive(paramStr, "warningPeriod")) { scheduleMsg(&logger, "warningPeriod=%d", engineConfiguration->warningPeriod); } diff --git a/firmware/hw_layer/sensors/CJ125.h b/firmware/hw_layer/sensors/CJ125.h index 0f1bc70cb5..f35e1e7b4e 100644 --- a/firmware/hw_layer/sensors/CJ125.h +++ b/firmware/hw_layer/sensors/CJ125.h @@ -13,6 +13,9 @@ #define CJ125_NORMAL 0x89 // 137 decimal #define CJ125_CALBRT 0x9D // 157 decimal +#define CJ125_IDENTT 0x60 + + void initCJ125(Logging *shared); typedef enum {