From 52d8655eece9c2166317537c9682f2cb16a5cac5 Mon Sep 17 00:00:00 2001 From: Olivier Fauchon Date: Mon, 3 May 2021 01:01:35 +0200 Subject: [PATCH] Patch Cleanup --- src/machine/machine_stm32f103.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/machine/machine_stm32f103.go b/src/machine/machine_stm32f103.go index d098b570..e7a51898 100644 --- a/src/machine/machine_stm32f103.go +++ b/src/machine/machine_stm32f103.go @@ -205,13 +205,6 @@ func (spi SPI) configurePins(config SPIConfig) { // Since the first interface is named I2C1, both I2C0 and I2C1 refer to I2C1. // TODO: implement I2C2. -/* -var ( - I2C1 = (*I2C)(unsafe.Pointer(stm32.I2C1)) - I2C0 = I2C1 -) -*/ - type I2C struct { Bus *stm32.I2C_Type }