summaryrefslogtreecommitdiff
path: root/avr/i2c.c
diff options
context:
space:
mode:
authorLeo C2014-12-16 16:03:06 +0100
committerLeo C2014-12-16 16:03:06 +0100
commit35edb766593d019b89a3f40b6d6cdd2b50f18032 (patch)
treed46f856c2f2b5f27b479162b234ff8bafcd8c349 /avr/i2c.c
parent15e476bc8dcadb88cad1e593e22cbeca62d05edb (diff)
downloadz180-stamp-35edb766593d019b89a3f40b6d6cdd2b50f18032.zip
Add copyright notice
Diffstat (limited to 'avr/i2c.c')
-rw-r--r--avr/i2c.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/avr/i2c.c b/avr/i2c.c
index d181ff6..ae2f8da 100644
--- 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.
@@ -371,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));
}
-
-
-