Skip to content

Commit 292921b

Browse files
committed
Update SPI stored setting also in begin()
1 parent 989073d commit 292921b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/SPI/SPI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ void ArduinoSPI::begin()
139139
_sci_spi_ext_cfg.clk_div.mddr = 0;
140140

141141
configSpiSettings(DEFAULT_SPI_SETTINGS);
142+
_settings = DEFAULT_SPI_SETTINGS;
142143

143144
/* Configure the Interrupt Controller. */
144145
if (_is_sci)

0 commit comments

Comments
 (0)