Example #1
0
        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());
            }
        }
Example #2
0
        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());
            }
        }