From 6cb7ed5a0193fd28319561715d80b72423461cc9 Mon Sep 17 00:00:00 2001 From: zer0 Date: Tue, 11 May 2010 02:57:50 +0200 Subject: [PATCH] fix CS_HZ --- projects/microb2010/mainboard/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/microb2010/mainboard/main.h b/projects/microb2010/mainboard/main.h index 4a9503d..54e03b0 100755 --- a/projects/microb2010/mainboard/main.h +++ b/projects/microb2010/mainboard/main.h @@ -122,7 +122,7 @@ #define BEACON_PRIO 15 #define EEPROM_TIME_PRIO 10 -#define CS_PERIOD 5000L /* in microsecond */ +#define CS_PERIOD ((5000L/SCHEDULER_UNIT)*SCHEDULER_UNIT) /* in microsecond */ #define CS_HZ (1000000. / CS_PERIOD) #define NB_LOGS 4 -- 2.39.5