From 86d2533397ad0265f856ddaf231792be939e5e00 Mon Sep 17 00:00:00 2001 From: Tomohito Ando Date: Fri, 22 Nov 2024 19:57:29 +0900 Subject: [PATCH] fix typo Signed-off-by: Tomohito Ando --- system/diagnostic_graph_utils/src/node/recovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/diagnostic_graph_utils/src/node/recovery.cpp b/system/diagnostic_graph_utils/src/node/recovery.cpp index 95e190ce2cf5b..57b64c0e0b16b 100644 --- a/system/diagnostic_graph_utils/src/node/recovery.cpp +++ b/system/diagnostic_graph_utils/src/node/recovery.cpp @@ -74,13 +74,13 @@ void RecoveryNode::on_mrm_state(const MrmState::ConstSharedPtr msg) if (msg->state != MrmState::NORMAL && fatal_error_) { mrm_by_fatal_error_ = true; } - // reset flag if recoverd (transition from mrm to normal) + // reset flag if recovered (transition from mrm to normal) if (mrm_occur_ && msg->state == MrmState::NORMAL) { mrm_by_fatal_error_ = false; } mrm_occur_ = msg->state != MrmState::NORMAL; // 1. Not emergency - // 2. Non-recovoerable MRM have not happened + // 2. Non-recoverable MRM have not happened // 3. on MRM // 4. on autonomous driving if (autonomous_available_ && !mrm_by_fatal_error_ && mrm_occur_ && auto_driving_) {