Maxwell Henderson | 80bec32 | 2024-01-09 15:48:44 -0800 | [diff] [blame^] | 1 | // Copyright (c) FIRST and other WPILib contributors. |
| 2 | // Open Source Software; you can modify and/or share it under the terms of |
| 3 | // the WPILib BSD license file in the root directory of this project. |
| 4 | |
| 5 | #include "hal/LEDs.h" |
| 6 | |
| 7 | #include "hal/simulation/RoboRioData.h" |
| 8 | |
| 9 | namespace hal::init { |
| 10 | void InitializeLEDs() {} |
| 11 | } // namespace hal::init |
| 12 | |
| 13 | extern "C" { |
| 14 | |
| 15 | void HAL_SetRadioLEDState(HAL_RadioLEDState state, int32_t* status) { |
| 16 | HALSIM_SetRoboRioRadioLEDState(state); |
| 17 | } |
| 18 | HAL_RadioLEDState HAL_GetRadioLEDState(int32_t* status) { |
| 19 | return HALSIM_GetRoboRioRadioLEDState(); |
| 20 | } |
| 21 | } // extern "C" |