mirror of
https://github.com/kwsch/NHSE.git
synced 2026-10-01 14:26:38 -05:00
Misc tweaks, sealed classes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
namespace NHSE.WinForms;
|
||||
|
||||
public class USBBotController
|
||||
public sealed class USBBotController
|
||||
{
|
||||
public readonly USBBot Bot = new();
|
||||
|
||||
@@ -20,10 +20,7 @@ public bool Connect()
|
||||
}
|
||||
}
|
||||
|
||||
public void Disconnect()
|
||||
{
|
||||
Bot.Disconnect();
|
||||
}
|
||||
public void Disconnect() => Bot.Disconnect();
|
||||
|
||||
//todo: this
|
||||
//public uint GetDefaultOffset()
|
||||
|
||||
Reference in New Issue
Block a user