Skip to content

Commit

Permalink
modify: fix value name
Browse files Browse the repository at this point in the history
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
  • Loading branch information
TetsuKawa committed Nov 8, 2024
1 parent 4c0d334 commit b269488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/hazard_status_converter/src/converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void Converter::on_update(DiagGraph::ConstSharedPtr graph)
hazard.status.emergency = hazard.status.level == HazardStatus::SINGLE_POINT_FAULT;

auto is_emergency_holding = sub_emergency_holding_.takeData();
hazard.status.emergency_holding = is_emergency_holding == nullptr ? false : is_emergency_holding->holding;
hazard.status.emergency_holding = is_emergency_holding == nullptr ? false : is_emergency_holding->is_holding;
pub_hazard_->publish(hazard);
}

Expand Down

0 comments on commit b269488

Please sign in to comment.