]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/i2c.c
wildcards for ls command (*, ?)
[z180-stamp.git] / avr / i2c.c
index d181ff60ee63fd2f48258866b469b2ec5aec4899..a0a12c8aaa21fa160411b0ae85b9006b56a5af2b 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 <string.h>
 
 #include "config.h"
 #include "timer.h"
@@ -371,6 +375,3 @@ int i2c_read(uint8_t chip, unsigned int addr, uint_fast8_t alen,
 
        return !((rc & (XMIT_DONE|DATA_ACK)) == (XMIT_DONE|DATA_ACK));
 }
-
-
-