Add missing usage reporting. (#639)

Compressor C++/Java
Servo C++
This commit is contained in:
sciencewhiz
2017-09-19 21:17:27 -07:00
committed by Peter Johnson
parent eb38204d1a
commit 423d8f6860
3 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,8 @@
#include "Servo.h"
#include <HAL/HAL.h>
#include "LiveWindow/LiveWindow.h"
using namespace frc;
@@ -27,6 +29,8 @@ Servo::Servo(int channel) : SafePWM(channel) {
// Assign defaults for period multiplier for the servo PWM control signal
SetPeriodMultiplier(kPeriodMultiplier_4X);
HAL_Report(HALUsageReporting::kResourceType_Servo, channel);
}
Servo::~Servo() {