mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 13:06:24 +00:00
Fixed use before initialize
This commit is contained in:
1 parent
1eba5c66be
commit
072f0c24ed
7 files changed
+24
-17
No files matched your search
@@ -42,9 +42,9 @@ namespace CUE.NET.Devices.Keyboard
|
||||
#region Methods
|
||||
|
||||
/// <summary>
|
||||
/// Initializes the LEDs of the device.
|
||||
/// Initializes the keyboard.
|
||||
/// </summary>
|
||||
protected override void InitializeLeds()
|
||||
public override void Initialize()
|
||||
{
|
||||
_CorsairLedPositions nativeLedPositions = (_CorsairLedPositions)Marshal.PtrToStructure(_CUESDK.CorsairGetLedPositions(), typeof(_CorsairLedPositions));
|
||||
int structSize = Marshal.SizeOf(typeof(_CorsairLedPosition));
|
||||
|
||||
Reference in new issue
Block a user