Changed clock value so it is a power of two.

This commit is contained in:
nvt-se 2008-08-14 11:11:34 +00:00
parent 6c9291f38b
commit deefb97c16

View file

@ -35,7 +35,7 @@
// Clock // Clock
typedef unsigned short clock_time_t; typedef unsigned short clock_time_t;
#define CLOCK_CONF_SECOND 100 #define CLOCK_CONF_SECOND 64
#define F_CPU 2457600uL // CPU target speed in Hz #define F_CPU 2457600uL // CPU target speed in Hz
#define BAUD2UBR(baud) (F_CPU/(baud)) #define BAUD2UBR(baud) (F_CPU/(baud))