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.

This commit is contained in:
oliverschmidt 2010-04-05 15:17:22 +00:00
parent 9831f02eba
commit 21f8e4e982

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* @(#)$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__ #ifndef __6502DEF_H__
@ -68,6 +68,8 @@ typedef unsigned short uip_stats_t;
#define UIP_ARCH_ADD32 1 #define UIP_ARCH_ADD32 1
#define UIP_ARCH_CHKSUM 1 #define UIP_ARCH_CHKSUM 1
#define MAC_CONF_CHANNEL_CHECK_RATE CLOCK_CONF_SECOND
#define LOADER_CONF_ARCH "lib/unload.h" #define LOADER_CONF_ARCH "lib/unload.h"
#if WITH_LOGGING #if WITH_LOGGING