Brian Silverman | 41cdd3e | 2019-01-19 19:48:58 -0800 | [diff] [blame] | 1 | /*----------------------------------------------------------------------------*/ |
| 2 | /* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */ |
| 3 | /* Open Source Software - may be modified and shared by FRC teams. The code */ |
| 4 | /* must be accompanied by the FIRST BSD license file in the root directory of */ |
| 5 | /* the project. */ |
| 6 | /*----------------------------------------------------------------------------*/ |
| 7 | |
| 8 | #include "hal/Constants.h" |
| 9 | |
| 10 | #include "ConstantsInternal.h" |
| 11 | |
| 12 | using namespace hal; |
| 13 | |
| 14 | namespace hal { |
| 15 | namespace init { |
| 16 | void InitializeConstants() {} |
| 17 | } // namespace init |
| 18 | } // namespace hal |
| 19 | |
| 20 | extern "C" { |
| 21 | int32_t HAL_GetSystemClockTicksPerMicrosecond(void) { |
| 22 | return kSystemClockTicksPerMicrosecond; |
| 23 | } |
| 24 | } // extern "C" |