New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks...
[bertos.git] / drv / twi.c
index fa3f094b4960554e821cfbb832facc6fa906be0c..76d4a82f463c28c305c23913d6e45ef9c6922ac4 100755 (executable)
--- a/drv/twi.c
+++ b/drv/twi.c
@@ -2,7 +2,7 @@
  * \file
  * <!--
  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See devlib/README for information.
+ * This file is part of DevLib - See README.devlib for information.
  * -->
  *
  * \brief Driver for the AVR ATMega TWI (implementation)
 
 /*#*
  *#* $Log$
+ *#* Revision 1.5  2005/11/27 23:33:40  bernie
+ *#* Use appconfig.h instead of cfg/config.h.
+ *#*
+ *#* Revision 1.4  2005/04/11 19:10:28  bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.3  2005/03/01 23:26:00  bernie
+ *#* Header fix.
+ *#*
  *#* Revision 1.2  2005/01/25 08:36:56  bernie
  *#* CONFIG_TWI_FREQ: New config param.
  *#*
  *#*/
 
 #include "twi.h"
-#include "config.h"
-#include <debug.h>
+
+#include <cfg/debug.h>
+#include <cfg/cpu.h>
+#include <cfg/macros.h> // BV()
 #include <hw.h>
-#include <cpu.h>
-#include <macros.h> // BV()
+#include <appconfig.h>
 
-#include <avr/twi.h>
+#include <compat/twi.h>
 
 
 /* Wait for TWINT flag set: bus is ready */