Raspberry.IO.InterIntegratedCircuit.I2cDriver.Wait C# (CSharp) Method

Wait() private method

private Wait ( uint remaining ) : void
remaining uint
return void
        private void Wait(uint remaining)
        {
            // When remaining data is to be received, then wait for a fully FIFO
            if (remaining != 0)
                Timer.Sleep(TimeSpan.FromMilliseconds(waitInterval * (remaining >= Interop.BCM2835_BSC_FIFO_SIZE ? Interop.BCM2835_BSC_FIFO_SIZE : remaining) / 1000d));
        }