]> git.droids-corp.org - aversive.git/commitdiff
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 4a9503d2ba0fd642b79fabfe566e876be9cc0e9b..54e03b0711a7f623d5efbbe0a1d8c34b90623115 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