additional function updateSettings() to replace the call to begin().
removes unwanted glitches before getting SCK active caused by setting parameters after begin().
This commit is contained in:
parent
f87b4adda8
commit
3ef9112870
|
@ -375,6 +375,7 @@ private:
|
||||||
SPISettings _settings[BOARD_NR_SPI];
|
SPISettings _settings[BOARD_NR_SPI];
|
||||||
SPISettings *_currentSetting;
|
SPISettings *_currentSetting;
|
||||||
|
|
||||||
|
void updateSettings(void);
|
||||||
/*
|
/*
|
||||||
spi_dev *spi_d;
|
spi_dev *spi_d;
|
||||||
uint8_t _SSPin;
|
uint8_t _SSPin;
|
||||||
|
|
Loading…
Reference in New Issue