avr: remove I2C stubs from attiny support

These stubs don't really belong there: attiny currently doesn't directly
support I2C at all (although it has hardware to support a software
implementation).
This commit is contained in:
Ayke van Laethem
2021-02-06 12:32:13 +01:00
committed by Ron Evans
parent 0535c1bbad
commit 71bbe93ab2
4 changed files with 8 additions and 17 deletions
-7
View File
@@ -141,10 +141,3 @@ func (a ADC) Get() uint16 {
return uint16(avr.ADCL.Get()) | uint16(avr.ADCH.Get())<<8
}
// I2C on AVR.
type I2C struct {
}
// I2C0 is the only I2C interface on most AVRs.
var I2C0 = I2C{}