mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[ntcore] Rename constants to all caps style (#8676)
This commit is contained in:
@@ -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), "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user