specify startup delay in seconds

This commit is contained in:
Felix Ruess
2009-09-08 11:10:14 +00:00
parent 08f164178d
commit afb725890c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@
#set GPS lag for horizontal filter
ap.CFLAGS += -DGPS_LAG=0.8 -DUSE_GPS_ACC4R
ap.CFLAGS += -DTELEMETRY_STARTUP_DELAY=3
ap.CFLAGS += -DBOOZ_START_DELAY=2
</makefile>
</airframe>
+1 -1
View File
@@ -126,7 +126,7 @@ STATIC_INLINE void booz2_main_init( void ) {
int_enable();
#ifdef BOOZ_START_DELAY
sys_time_usleep(BOOZ_START_DELAY);
sys_time_usleep((int)(BOOZ_START_DELAY*1e6));
#endif
}