Skip to content

Commit

Permalink
Use type string constant
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Jun 14, 2024
1 parent 2484b51 commit 38479fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void SendableBuilderImpl::ClearProperties() {
void SendableBuilderImpl::SetSmartDashboardType(std::string_view type) {
if (!m_typePublisher) {
m_typePublisher = m_table->GetStringTopic(".type").PublishEx(
"string", {{"SmartDashboard", type}});
nt::StringTopic::kTypeString, {{"SmartDashboard", type}});
}
m_typePublisher.Set(type);
}
Expand Down

0 comments on commit 38479fd

Please sign in to comment.