We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3de55 commit 046efddCopy full SHA for 046efdd
src/machine/machine_stm32f103xx.go
@@ -37,6 +37,7 @@ const (
37
// stm32f1xx uses different technique for setting the GPIO pins than the stm32f407
38
func (p Pin) Configure(config PinConfig) {
39
// Configure the GPIO pin.
40
+ p.enableClock()
41
port := p.getPort()
42
pin := uint8(p) % 16
43
pos := (pin % 8) * 4
0 commit comments