[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4826] booz almost running on stm32 - added the LED_
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [4826] booz almost running on stm32 - added the LED_PERIODIC function to refresh the shift register and placed an empty stub in the arm7 implementation |
Date: |
Tue, 20 Apr 2010 19:03:07 +0000 |
Revision: 4826
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4826
Author: poine
Date: 2010-04-20 19:03:06 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
booz almost running on stm32 - added the LED_PERIODIC function to refresh the
shift register and placed an empty stub in the arm7 implementation
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/arm7/led_hw.h
paparazzi3/trunk/sw/airborne/booz/booz2_main.c
Modified: paparazzi3/trunk/sw/airborne/arm7/led_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/arm7/led_hw.h 2010-04-20 12:12:11 UTC (rev
4825)
+++ paparazzi3/trunk/sw/airborne/arm7/led_hw.h 2010-04-20 19:03:06 UTC (rev
4826)
@@ -5,6 +5,8 @@
#include "LPC21xx.h"
#include "std.h"
+#define LED_PERIODIC() {}
+
#define __LED_DIR(i) IO ## i ## DIR
#define _LED_DIR(i) __LED_DIR(i)
#define __LED_CLR(i) IO ## i ## CLR
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_main.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_main.c 2010-04-20 12:12:11 UTC
(rev 4825)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_main.c 2010-04-20 19:03:06 UTC
(rev 4826)
@@ -157,11 +157,13 @@
{ \
/*BoozControlSurfacesSetFromCommands();*/
\
}, \
+ { \
+ LED_PERIODIC(); \
+ }, \
{},
\
{},
\
{},
\
{},
\
- {},
\
{} \
); \
@@ -226,9 +228,7 @@
booz_ahrs_propagate();
booz_ahrs_update_accel();
#ifdef SITL
- if (nps_bypass_ahrs) {
- sim_overwrite_ahrs();
- }
+ if (nps_bypass_ahrs) sim_overwrite_ahrs();
#endif
booz_ins_propagate();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4826] booz almost running on stm32 - added the LED_PERIODIC function to refresh the shift register and placed an empty stub in the arm7 implementation,
antoine drouin <=