diff testavr.c @ 9:7ed10c59ba06

Supply clock speed via the command line so 1wire-delay.h can use it.
author darius
date Mon, 12 Jul 2004 17:51:20 +0930
parents a940431af6f5
children eb1faf51968e
line wrap: on
line diff
--- a/testavr.c	Mon Jul 12 17:50:42 2004 +0930
+++ b/testavr.c	Mon Jul 12 17:51:20 2004 +0930
@@ -1,4 +1,8 @@
 /*
+ * Test various AVR bits and pieces
+ *
+ * $Id$
+ *
  * Copyright (c) 2004
  *      Daniel O'Connor <darius@dons.net.au>.  All rights reserved.
  *
@@ -35,7 +39,6 @@
 #include "1wire.h"
 
 #define UART_BAUD_SELECT(baudRate,xtalCpu) ((xtalCpu)/((baudRate)*16l)-1)
-#define XTAL_CPU         4000000      /* 4Mhz */
 #define UART_BAUD_RATE      19200
 
 void		uart_putsP(const char *addr);