mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilibc] Add more unit tests (#3494)
This commit is contained in:
@@ -99,7 +99,7 @@ void AddressableLEDSim::SetRunning(bool running) {
|
||||
}
|
||||
|
||||
std::unique_ptr<CallbackStore> AddressableLEDSim::RegisterDataCallback(
|
||||
NotifyCallback callback, bool initialNotify) {
|
||||
ConstBufferCallback callback, bool initialNotify) {
|
||||
auto store = std::make_unique<CallbackStore>(
|
||||
m_index, -1, callback, &HALSIM_CancelAddressableLEDDataCallback);
|
||||
store->SetUid(HALSIM_RegisterAddressableLEDDataCallback(
|
||||
|
||||
Reference in New Issue
Block a user