blob: e7d45aa7f7d166b70a1a8efadbc70c97cef5d2df [file] [log] [blame]
Maxwell Henderson80bec322024-01-09 15:48:44 -08001// 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
9namespace hal::init {
10void InitializeLEDs() {}
11} // namespace hal::init
12
13extern "C" {
14
15void HAL_SetRadioLEDState(HAL_RadioLEDState state, int32_t* status) {
16 HALSIM_SetRoboRioRadioLEDState(state);
17}
18HAL_RadioLEDState HAL_GetRadioLEDState(int32_t* status) {
19 return HALSIM_GetRoboRioRadioLEDState();
20}
21} // extern "C"