robotdotnet / WPILib

DotNet implementation of WPILib for FIRST Robotics Competition (FRC)
27 stars 8 forks source link

Fixed typo in NetworkTable.GetKeys() causing error #125

Closed Nolan1324 closed 3 years ago

Nolan1324 commented 3 years ago

Resolves the following error when calling GetKeys on a NetworkTable object:

ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Reproduction:

using FRC.NetworkTables;
...
NetworkTableInstance.Default.GetTable("SmartDashboard").GetKeys(); //This causes the error