use new sys_time for rotorcrafts on stm32

SYS_TIME_RESOLUTION is now in seconds
renamed tics to ticks
renamed SYS_TIME_TICS to CPU_TICKS
This commit is contained in:
Felix Ruess
2012-01-05 18:39:23 +01:00
parent 3af19fd77d
commit 810a3c45a9
8 changed files with 104 additions and 45 deletions
+2
View File
@@ -25,6 +25,7 @@
#include "mcu.h"
#ifdef PERIPHERALS_AUTO_INIT
#include "mcu_periph/sys_time.h"
#ifdef USE_LED
#include "led.h"
#endif
@@ -58,6 +59,7 @@ void mcu_init(void) {
mcu_arch_init();
#ifdef PERIPHERALS_AUTO_INIT
sys_time_init();
#ifdef USE_LED
led_init();
#endif