mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Fixed a few simple SmartDashboard FIXMEs and TODOs
SmartDashboard does usage reporting now (or will when it's implemented in the HAL). Global errors are raised in C++ when problems happen, since there is no SmartDashboard instance. Previously, no error reporting was done at all. GetData was uncommented. Change-Id: I3331eb9f09924d1d0028e3fa041f0cf68caa5cf5
This commit is contained in:
@@ -15,4 +15,9 @@ public class HardwareHLUsageReporting implements HLUsageReporting.Interface {
|
||||
public void reportPIDController(int num) {
|
||||
UsageReporting.report(tResourceType.kResourceType_PIDController, num);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reportSmartDashboard() {
|
||||
UsageReporting.report(tResourceType.kResourceType_SmartDashboard, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user