keyboardio / attiny_i2c_bootloader

An I2C bootloader for ATTiny devices based on AVR112.
16 stars 6 forks source link

use avr-libc TWI symbols #10

Open tlyu opened 2 years ago

tlyu commented 2 years ago

Use the TWI hardware module status symbols from <util/twi.h> from avr-libc instead of defining our own. Also clean up various unused things, and tidy up includes.

Confirmed to compile to identical machine code.

obra commented 2 years ago

Thanks!