mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
42088f938e
I think it's better not to provide a UART0 global at all than one that does nothing.
10 lines
190 B
Go
10 lines
190 B
Go
// +build avr,attiny
|
|
|
|
package machine
|
|
|
|
// Tx is a dummy implementation. I2C has not been implemented for ATtiny
|
|
// devices.
|
|
func (i2c I2C) Tx(addr uint16, w, r []byte) error {
|
|
return nil
|
|
}
|