diff --git a/HomePlugin/BotController/SysBotMini.cs b/HomePlugin/BotController/SysBotMini.cs index 5c8586e..7ce8e0a 100644 --- a/HomePlugin/BotController/SysBotMini.cs +++ b/HomePlugin/BotController/SysBotMini.cs @@ -29,7 +29,7 @@ public void Connect() Connection.Connect(IP, Port); Connected = true; } - var title = GetTitleID().Trim(); + var title = GetTitleID(); if (!title.Equals(HOME.TitleID)) { Disconnect(); diff --git a/HomePlugin/BotController/UsbBotMini.cs b/HomePlugin/BotController/UsbBotMini.cs index fec2207..034b0e0 100644 --- a/HomePlugin/BotController/UsbBotMini.cs +++ b/HomePlugin/BotController/UsbBotMini.cs @@ -2,7 +2,6 @@ using System; using System.Threading; -using System.Threading.Tasks; using LibUsbDotNet; using LibUsbDotNet.Main;