[wpilibc] Add more unit tests (#3494)

This commit is contained in:
PJ Reiniger
2021-08-05 22:04:51 -04:00
committed by GitHub
parent b253246959
commit 94e0db7963
30 changed files with 2588 additions and 89 deletions

View File

@@ -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(