mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[sim] Fix WS blank device messages (e.g. DriverStation)
This commit is contained in:
@@ -179,8 +179,10 @@ void HALSimWS::OnNetValueChanged(const wpi::json& msg) {
|
||||
|
||||
wpi::SmallString<64> key;
|
||||
key.append(type);
|
||||
key.append("/");
|
||||
key.append(device);
|
||||
if (!device.empty()) {
|
||||
key.append("/");
|
||||
key.append(device);
|
||||
}
|
||||
|
||||
auto provider = m_providers.Get(key.str());
|
||||
if (provider) {
|
||||
|
||||
Reference in New Issue
Block a user