Skip to content

Commit 9fbc30c

Browse files
authored
fix(mrm_handler): fix multiCondition warning (#7543)
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent 6b9d5c8 commit 9fbc30c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void MrmHandler::onOperationModeAvailability(
9191
if (!is_emergency_holding_) {
9292
if (msg->autonomous) {
9393
stamp_autonomous_become_unavailable_.reset();
94-
} else if (!msg->autonomous) {
94+
} else {
9595
if (!stamp_autonomous_become_unavailable_.has_value()) {
9696
stamp_autonomous_become_unavailable_.emplace(this->now());
9797
} else {

0 commit comments

Comments
 (0)