mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Cleanup
This commit is contained in:
@@ -644,6 +644,8 @@ namespace GHelper
|
|||||||
byte[] ASUS_INIT = Encoding.ASCII.GetBytes("^ASUS Tech.Inc.");
|
byte[] ASUS_INIT = Encoding.ASCII.GetBytes("^ASUS Tech.Inc.");
|
||||||
|
|
||||||
SetXGM(ASUS_INIT);
|
SetXGM(ASUS_INIT);
|
||||||
|
|
||||||
|
/*
|
||||||
SetXGM(new byte[] { 0x5e, 0xd0, 0x02 });
|
SetXGM(new byte[] { 0x5e, 0xd0, 0x02 });
|
||||||
SetXGM(new byte[] { 0x5e, 0xd0, 0x03 });
|
SetXGM(new byte[] { 0x5e, 0xd0, 0x03 });
|
||||||
SetXGM(ASUS_INIT);
|
SetXGM(ASUS_INIT);
|
||||||
@@ -652,6 +654,7 @@ namespace GHelper
|
|||||||
SetXGM(new byte[] { 0x5e, 0xce, 0x03 });
|
SetXGM(new byte[] { 0x5e, 0xce, 0x03 });
|
||||||
SetXGM(new byte[] { 0x5e, 0xd0, 0x04 });
|
SetXGM(new byte[] { 0x5e, 0xd0, 0x04 });
|
||||||
SetXGM(new byte[] { 0x5e, 0xd0, 0x01 });
|
SetXGM(new byte[] { 0x5e, 0xd0, 0x01 });
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ApplyXGMLight(bool status)
|
public static void ApplyXGMLight(bool status)
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ namespace GHelper
|
|||||||
foreach (var localVersion in localVersions)
|
foreach (var localVersion in localVersions)
|
||||||
{
|
{
|
||||||
newer = Math.Min(newer, new Version(driver.version).CompareTo(new Version(localVersion)));
|
newer = Math.Min(newer, new Version(driver.version).CompareTo(new Version(localVersion)));
|
||||||
Logger.WriteLine(driver.title + " " + driver.version + " vs " + localVersion + " = " + newer);
|
Logger.WriteLine(driver.title + " " + deviceID + " "+ driver.version + " vs " + localVersion + " = " + newer);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user