Fixed some small mistakes left from the LedId-conversion

This commit is contained in:
DarthAffe committed 2017-12-18 22:06:19 +01:00
1 parent d7c12e5e4c
commit 741523d6ef
6 files changed
+7 -4

No files matched your search

@@ -52,7 +52,7 @@ namespace RGB.NET.Devices.Novation
}
/// <inheritdoc />
protected override object CreateLedCustomData(LedId ledId) => LaunchpadIdMapping.DEFAULT[ledId];
protected override object CreateLedCustomData(LedId ledId) => LaunchpadIdMapping.DEFAULT.TryGetValue(ledId, out NovationLedId novationLedId) ? novationLedId : NovationLedId.Invalid;
#endregion
}