X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/04a63b0d5660f1c0c0b7e8123e4f56d188e52a5d..cdc4625b124f725fbc9462d5592d1d3be2aa613a:/avr/i2c.c diff --git a/avr/i2c.c b/avr/i2c.c index e0e5a19..ae2f8da 100644 --- a/avr/i2c.c +++ b/avr/i2c.c @@ -1,3 +1,8 @@ +/* + * (C) Copyright 2014 Leo C. + * + * SPDX-License-Identifier: GPL-2.0+ + */ /* * I2C (TWI) master interface. @@ -5,7 +10,6 @@ #include "common.h" #include -#include #include #include "config.h" @@ -372,6 +376,3 @@ int i2c_read(uint8_t chip, unsigned int addr, uint_fast8_t alen, return !((rc & (XMIT_DONE|DATA_ACK)) == (XMIT_DONE|DATA_ACK)); } - - -