[ntcore] Rename constants to all caps style (#8676)

This commit is contained in:
Peter Johnson
2026-03-15 20:44:45 -07:00
committed by GitHub
parent 86dd3ca2b7
commit ab7e4766f6
99 changed files with 736 additions and 732 deletions

View File

@@ -220,7 +220,7 @@ RobotBase::RobotBase() {
connListenerHandle =
inst.AddConnectionListener(false, [&](const wpi::nt::Event& event) {
if (event.Is(wpi::nt::EventFlags::kConnected)) {
if (event.Is(wpi::nt::EventFlags::CONNECTED)) {
auto connInfo = event.GetConnectionInfo();
HAL_ReportUsage(fmt::format("NT/{}", connInfo->remote_id), "");
}