From 21f8e4e9825fa0f29588789779451794c507b2b7 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Mon, 5 Apr 2010 15:17:22 +0000 Subject: [PATCH] Made MAC_CONF_CHANNEL_CHECK_RATE identical to CLOCK_CONF_SECOND in order to make sure it isn't larger - which causes 'divide by zero' errors. --- cpu/6502/6502def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpu/6502/6502def.h b/cpu/6502/6502def.h index 07e5decee..dc1b9c4fb 100644 --- a/cpu/6502/6502def.h +++ b/cpu/6502/6502def.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * @(#)$Id: 6502def.h,v 1.21 2010/03/27 15:16:57 oliverschmidt Exp $ + * @(#)$Id: 6502def.h,v 1.22 2010/04/05 15:17:22 oliverschmidt Exp $ */ #ifndef __6502DEF_H__ @@ -68,6 +68,8 @@ typedef unsigned short uip_stats_t; #define UIP_ARCH_ADD32 1 #define UIP_ARCH_CHKSUM 1 +#define MAC_CONF_CHANNEL_CHECK_RATE CLOCK_CONF_SECOND + #define LOADER_CONF_ARCH "lib/unload.h" #if WITH_LOGGING