]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/i2c.c
overhaul CP/M drive logging/debugging
[z180-stamp.git] / avr / i2c.c
index e0e5a1990b4086248752ecd9b0ccd6a9652aa4d9..ae2f8da46d3410df36cf2f35f1dc7cdfa4ac79eb 100644 (file)
--- a/avr/i2c.c
+++ b/avr/i2c.c
@@ -1,3 +1,8 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
 
 /*
  * I2C (TWI) master interface.
@@ -5,7 +10,6 @@
 
 #include "common.h"
 #include <avr/interrupt.h>
-#include <util/delay.h>
 #include <string.h>
 
 #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));
 }
-
-
-