mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Calibration - Moved color calibration reversion to ArtemisLed
This commit is contained in:
1 parent
a23fab7d9f
commit
a504a5f4e1
2 files changed
+10
-1
No files matched your search
@@ -68,5 +68,14 @@ namespace Artemis.Core
|
||||
{
|
||||
return RgbLed.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the color of this led, reverting the correction done to the parent device
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Color GetOriginalColor()
|
||||
{
|
||||
return RgbLed.Color.DivideRGB(Device.RedScale, Device.GreenScale, Device.BlueScale);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user