Skip to content

Commit 3ef9112

Browse files
committed
additional function updateSettings() to replace the call to begin().
removes unwanted glitches before getting SCK active caused by setting parameters after begin().
1 parent f87b4ad commit 3ef9112

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • STM32F1/libraries/SPI/src

STM32F1/libraries/SPI/src/SPI.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ class SPIClass {
375375
SPISettings _settings[BOARD_NR_SPI];
376376
SPISettings *_currentSetting;
377377

378+
void updateSettings(void);
378379
/*
379380
spi_dev *spi_d;
380381
uint8_t _SSPin;

0 commit comments

Comments
 (0)