Skip to content

Commit dd68699

Browse files
committed
Core: TurbinePacket: SonarLint - Adjusted casting & Added alt. LD types; Related Updates
1 parent c7c721d commit dd68699

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/LoadContainer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class LoadContainer {
6464
this->safetyFlag = ESTOP_TYPE_FAST::BUTTON;
6565
} else if (abs(INA260::current_mA) <
6666
PSENSOR::LOAD_SHED_I_THRESHOLD_mA) {
67-
this->safetyFlag = ESTOP_TYPE_FAST::LOAD_DISCONNECT;
67+
this->safetyFlag = ESTOP_TYPE_FAST::LOAD_DISCONNECT_I;
6868
} else {
6969
this->safetyFlag = ESTOP_TYPE_FAST::NONE;
7070
}

lib/2026-Controls_Core

0 commit comments

Comments
 (0)