Skip to content

Commit 6606752

Browse files
committed
Minor
1 parent a30c2b0 commit 6606752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RDMSharp/RDM/Device/AbstractRemoteRDMDevice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public abstract class AbstractRemoteRDMDevice : AbstractRDMDevice , IRDMRemoteDe
2929

3030
private readonly ConcurrentDictionary<byte, Sensor> sensors = new ConcurrentDictionary<byte, Sensor>();
3131
public sealed override IReadOnlyDictionary<byte, Sensor> Sensors { get { return sensors.AsReadOnly(); } }
32-
public sealed override IReadOnlyDictionary<ushort, Slot> Slots { get { return PersonalityModel.Slots; } }
32+
public sealed override IReadOnlyDictionary<ushort, Slot> Slots { get { return PersonalityModel?.Slots; } }
3333

3434

3535
private readonly ConcurrentDictionary<int, RDMStatusMessage> statusMessages = new ConcurrentDictionary<int, RDMStatusMessage>();

0 commit comments

Comments
 (0)