aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_stm32f103.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine/machine_stm32f103.go')
-rw-r--r--src/machine/machine_stm32f103.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/machine/machine_stm32f103.go b/src/machine/machine_stm32f103.go
index e1c91ca03..556785789 100644
--- a/src/machine/machine_stm32f103.go
+++ b/src/machine/machine_stm32f103.go
@@ -161,6 +161,10 @@ var (
SPI0 = SPI1
)
+func (spi SPI) config8Bits() {
+ // no-op on this series
+}
+
// Set baud rate for SPI
func (spi SPI) getBaudRate(config SPIConfig) uint32 {
var conf uint32