mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[ntcore] Rename constants to all caps style (#8676)
This commit is contained in:
@@ -208,7 +208,7 @@ public class MechanismLigament2d extends MechanismObject2d {
|
||||
table
|
||||
.getStringTopic(".type")
|
||||
.publishEx(
|
||||
StringTopic.kTypeString, "{\"SmartDashboard\":\"" + kSmartDashboardType + "\"}");
|
||||
StringTopic.TYPE_STRING, "{\"SmartDashboard\":\"" + kSmartDashboardType + "\"}");
|
||||
m_typePub.set(kSmartDashboardType);
|
||||
|
||||
if (m_angleEntry != null) {
|
||||
|
||||
@@ -230,7 +230,7 @@ public class SendableBuilderImpl implements NTSendableBuilder {
|
||||
m_typePub =
|
||||
m_table
|
||||
.getStringTopic(".type")
|
||||
.publishEx(StringTopic.kTypeString, "{\"SmartDashboard\":\"" + type + "\"}");
|
||||
.publishEx(StringTopic.TYPE_STRING, "{\"SmartDashboard\":\"" + type + "\"}");
|
||||
}
|
||||
m_typePub.set(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user