Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hilary-luo committed Jan 28, 2025
1 parent a7bdc73 commit 7c35385
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clearpath_diagnostics/src/clearpath_diagnostic_updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ ClearpathDiagnosticUpdater::ClearpathDiagnosticUpdater()
updater_.setHardwareID(serial_number_);
if (latest_apt_firmware_version_ == "not_applicable") {
RCLCPP_INFO(this->get_logger(), "No MCU indicated, MCU diagnostics disabled.");
}
else if (latest_apt_firmware_version_ != "simulated") {
} else if (latest_apt_firmware_version_ != "simulated") {
// Publish MCU Status information as diagnostics
updater_.add("MCU Status", this, &ClearpathDiagnosticUpdater::mcu_status_diagnostic);
updater_.add("MCU Firmware Version", this, &ClearpathDiagnosticUpdater::check_firmware_version);
Expand Down

0 comments on commit 7c35385

Please sign in to comment.