Calibration - Moved color calibration reversion to ArtemisLed

This commit is contained in:
Diogo Trindade committed 2020-12-12 15:16:26 +00:00
1 parent a23fab7d9f
commit a504a5f4e1
2 files changed
+10 -1

No files matched your search

@@ -38,7 +38,7 @@ namespace Artemis.UI.Shared
if (DisplayGeometry == null)
return;
RGB.NET.Core.Color originalColor = Led.RgbLed.Color.DivideRGB(Led.Device.RedScale, Led.Device.GreenScale, Led.Device.BlueScale);
RGB.NET.Core.Color originalColor = Led.GetOriginalColor();
byte r = originalColor.GetR();
byte g = originalColor.GetG();
byte b = originalColor.GetB();