mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
22 lines
585 B
C++
22 lines
585 B
C++
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
||
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
||
|
|
// the WPILib BSD license file in the root directory of this project.
|
||
|
|
|
||
|
|
#include "hal/LEDs.h"
|
||
|
|
|
||
|
|
#include "hal/simulation/RoboRioData.h"
|
||
|
|
|
||
|
|
namespace hal::init {
|
||
|
|
void InitializeLEDs() {}
|
||
|
|
} // namespace hal::init
|
||
|
|
|
||
|
|
extern "C" {
|
||
|
|
|
||
|
|
void HAL_SetRadioLEDState(HAL_RadioLEDState state, int32_t* status) {
|
||
|
|
HALSIM_SetRoboRioRadioLEDState(state);
|
||
|
|
}
|
||
|
|
HAL_RadioLEDState HAL_GetRadioLEDState(int32_t* status) {
|
||
|
|
return HALSIM_GetRoboRioRadioLEDState();
|
||
|
|
}
|
||
|
|
} // extern "C"
|