diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 3cf6096b6a..a8bbb7d98c 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -667,6 +667,7 @@ DcHardware *getdcHardware(); DcHardware *dc = getdcHardware(); engine->dc_motors.dcOutput0 = dc->dcMotor.get(); + engine->dc_motors.isEnabled0_int = dc->msg() == nullptr; #if EFI_SHAFT_POSITION_INPUT diff --git a/firmware/controllers/actuators/dc_motors.txt b/firmware/controllers/actuators/dc_motors.txt index ddb38d900d..41f8c5721d 100644 --- a/firmware/controllers/actuators/dc_motors.txt +++ b/firmware/controllers/actuators/dc_motors.txt @@ -2,6 +2,7 @@ struct_no_prefix dc_motors_s float dcOutput0;"DC: output0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@ + uint8_t isEnabled0_int;"DC: en0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@ bit isEnabled0 end_struct \ No newline at end of file