From 37202b6f286a7afdd7130e27a7ed324769b0edd6 Mon Sep 17 00:00:00 2001 From: Thad House Date: Wed, 15 Jan 2020 21:34:28 -0800 Subject: [PATCH] Add missing SensorUtil::kAnalogOutputs (#2276) --- wpilibc/src/main/native/cpp/SensorUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wpilibc/src/main/native/cpp/SensorUtil.cpp b/wpilibc/src/main/native/cpp/SensorUtil.cpp index 8c02f1bc8a..3e0b86e129 100644 --- a/wpilibc/src/main/native/cpp/SensorUtil.cpp +++ b/wpilibc/src/main/native/cpp/SensorUtil.cpp @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -21,6 +21,7 @@ using namespace frc; const int SensorUtil::kDigitalChannels = HAL_GetNumDigitalChannels(); const int SensorUtil::kAnalogInputs = HAL_GetNumAnalogInputs(); +const int SensorUtil::kAnalogOutputs = HAL_GetNumAnalogOutputs(); const int SensorUtil::kSolenoidChannels = HAL_GetNumSolenoidChannels(); const int SensorUtil::kSolenoidModules = HAL_GetNumPCMModules(); const int SensorUtil::kPwmChannels = HAL_GetNumPWMChannels();