Skip to content

Commit 52d8655

Browse files
ofauchondeadprogram
authored andcommitted
Patch Cleanup
1 parent f578694 commit 52d8655

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/machine/machine_stm32f103.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,6 @@ func (spi SPI) configurePins(config SPIConfig) {
205205
// Since the first interface is named I2C1, both I2C0 and I2C1 refer to I2C1.
206206
// TODO: implement I2C2.
207207

208-
/*
209-
var (
210-
I2C1 = (*I2C)(unsafe.Pointer(stm32.I2C1))
211-
I2C0 = I2C1
212-
)
213-
*/
214-
215208
type I2C struct {
216209
Bus *stm32.I2C_Type
217210
}

0 commit comments

Comments
 (0)