Files
allwpilib/wpilibc/src/main/native/cpp/controller/ProfiledPIDController.cpp

14 lines
463 B
C++
Raw Normal View History

// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/controller/ProfiledPIDController.h"
#include <hal/FRCUsageReporting.h>
void frc::detail::ReportProfiledPIDController() {
static int instances = 0;
++instances;
HAL_Report(HALUsageReporting::kResourceType_ProfiledPIDController, instances);
}