From cb9335def093576cd2f3d134203200c89ae19426 Mon Sep 17 00:00:00 2001 From: Adrian Stevens Date: Fri, 3 Jan 2025 17:13:30 -0800 Subject: [PATCH] Update Sc16is7x2.Spi.cs --- .../ICs.IOExpanders.Sc16is7x2/Driver/Sc16is7x2.Spi.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Sc16is7x2/Driver/Sc16is7x2.Spi.cs b/Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Sc16is7x2/Driver/Sc16is7x2.Spi.cs index edc51a7b0..a85ea067d 100644 --- a/Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Sc16is7x2/Driver/Sc16is7x2.Spi.cs +++ b/Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Sc16is7x2/Driver/Sc16is7x2.Spi.cs @@ -39,7 +39,7 @@ public Sc16is7x2(ISpiBus spiBus, Frequency oscillatorFrequency, IDigitalOutputPo : this(oscillatorFrequency, irq, latchGpioInterrupt) { _spiComms = new SpiCommunications(spiBus, chipSelect, DefaultSpiBusSpeed); - Reset(); // We need to call this _after_ the SPI communications object is created + Reset(); } } -} \ No newline at end of file +}