fix CS_HZ
authorzer0 <zer0@carbon.local>
Tue, 11 May 2010 00:57:50 +0000 (02:57 +0200)
committerzer0 <zer0@carbon.local>
Tue, 11 May 2010 00:57:50 +0000 (02:57 +0200)
projects/microb2010/mainboard/main.h

index 4a9503d..54e03b0 100755 (executable)
 #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