# HG changeset patch
# User darius@Inchoate
# Date 1225359336 -37800
# Node ID 0910ab6f00954b36f0931215c8855ea744edfc85
# Parent  50fca9562310b926be303a8096567ed0bea327dd
Add attribution for IIC routines.

diff -r 50fca9562310 -r 0910ab6f0095 ds1307.c
--- a/ds1307.c	Thu Oct 30 11:53:32 2008 +1030
+++ b/ds1307.c	Thu Oct 30 20:05:36 2008 +1030
@@ -72,6 +72,8 @@
  * IIC_SLNAK	Slave NAK'd.
  * IIC_NOREPLY	No reply (no such slave?)
  * IIC_UNKNOWN	Unexpected return from TWI reg.
+ *
+ * Heaviy cribbed from twitest.c by Joerg Wunsch
  */
 int
 iic_read(uint8_t *data, uint8_t len, uint8_t adr, uint8_t sla) {
@@ -253,6 +255,8 @@
  * IIC_SLNAK	Slave NAK'd.
  * IIC_NOREPLY	No reply (no such slave?)
  * IIC_UNKNOWN	Unexpected return from TWI reg.
+ *
+ * Heaviy cribbed from twitest.c by Joerg Wunsch
  */
 int
 iic_write(uint8_t *data, uint8_t len, uint8_t adr, uint8_t sla) {