public void Configure(string name, string value) { lock (_sync) { AndroidUSBUtils.CurrentInstance.WriteToEndpoint(SwitchCommand.Configure(name, value)); // give it time to push data back Thread.Sleep(1 + UI_Settings.GetThreadSleepTime()); } }
public void Configure(string name, string value) { lock (_sync) { SendInternal(SwitchCommand.Configure(name, value)); // give it time to push data back Thread.Sleep(1 + UI_Settings.GetThreadSleepTime()); } }