Skip to content

Commit

Permalink
Fix: Remove degree sign
Browse files Browse the repository at this point in the history
It confuse ros diagnostics.
  • Loading branch information
Thomas Kostas committed Jul 15, 2021
1 parent dcd07f6 commit 31c7a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu_temperature_diagnostic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void CpuTemperatureDiagnostic::diagnostics_callback(
}
std::string status_string = read.is_ok_ ? "OK" : "Error";
stat.add(read.label_,
std::to_string(int(read.temperature_)) + "°C " +
std::to_string(int(read.temperature_)) + "C " +
status_string);
}
std::string summary =
Expand Down

0 comments on commit 31c7a97

Please sign in to comment.