diff --git a/hal/src/main/native/athena/DutyCycle.cpp b/hal/src/main/native/athena/DutyCycle.cpp index 1c1a678cb8..3749a2b43f 100644 --- a/hal/src/main/native/athena/DutyCycle.cpp +++ b/hal/src/main/native/athena/DutyCycle.cpp @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2019-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. */ @@ -75,6 +75,9 @@ void HAL_FreeDutyCycle(HAL_DutyCycleHandle dutyCycleHandle) { dutyCycleHandles->Free(dutyCycleHandle); } +void HAL_SetDutyCycleSimDevice(HAL_EncoderHandle handle, + HAL_SimDeviceHandle device) {} + int32_t HAL_GetDutyCycleFrequency(HAL_DutyCycleHandle dutyCycleHandle, int32_t* status) { auto dutyCycle = dutyCycleHandles->Get(dutyCycleHandle);