[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5370] removed the apparently unused "delay_done" va
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5370] removed the apparently unused "delay_done" variable - made " startup_counter" a local variable - do we really need assembly here ? |
Date: |
Sun, 15 Aug 2010 15:35:23 +0000 |
Revision: 5370
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5370
Author: poine
Date: 2010-08-15 15:35:23 +0000 (Sun, 15 Aug 2010)
Log Message:
-----------
removed the apparently unused "delay_done" variable - made "startup_counter" a
local variable - do we really need assembly here ?
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/booz2_main.c
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_main.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_main.c 2010-08-15 15:12:47 UTC
(rev 5369)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_main.c 2010-08-15 15:35:23 UTC
(rev 5370)
@@ -67,8 +67,6 @@
#include "modules.h"
#endif
-uint32_t startup_counter = 0;
-
static inline void on_gyro_accel_event( void );
static inline void on_baro_event( void );
static inline void on_gps_event( void );
@@ -87,14 +85,10 @@
}
#endif /* SITL */
-#ifdef BOOZ_START_DELAY
-bool_t delay_done;
-uint32_t init_done_time;
-#endif
-
STATIC_INLINE void booz2_main_init( void ) {
- for (startup_counter=0; startup_counter<2000000; startup_counter++){
- __asm("nop");
+
+ for (uint32_t startup_counter=0; startup_counter<2000000; startup_counter++){
+ __asm("nop");
}
hw_init();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5370] removed the apparently unused "delay_done" variable - made " startup_counter" a local variable - do we really need assembly here ?,
antoine drouin <=