Changed clock value so it is a power of two.
This commit is contained in:
parent
6c9291f38b
commit
deefb97c16
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue