[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5393] added spektrum satellite binding
From: |
Eric |
Subject: |
[paparazzi-commits] [5393] added spektrum satellite binding |
Date: |
Sun, 15 Aug 2010 20:31:32 +0000 |
Revision: 5393
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5393
Author: lamestllama
Date: 2010-08-15 20:31:31 +0000 (Sun, 15 Aug 2010)
Log Message:
-----------
added spektrum satellite binding
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 20:30:11 UTC
(rev 5392)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_main.c 2010-08-15 20:31:31 UTC
(rev 5393)
@@ -24,8 +24,8 @@
#define MODULES_C
#include <inttypes.h>
-
#include "init_hw.h"
+#include "bind_hw.h"
#include "sys_time.h"
#include "led.h"
#include "interrupt_hw.h"
@@ -87,11 +87,20 @@
STATIC_INLINE void booz2_main_init( void ) {
+#ifndef RADIO_CONTROL_LINK
+ /* read the comment below the bind function needs to start as close to
powerup as possible
+ it also blocks for 73ms which is longer than this loop could thhis be
moved elsewhere */
for (uint32_t startup_counter=0; startup_counter<2000000; startup_counter++){
__asm("nop");
}
+#endif
hw_init();
+
+#ifdef RADIO_CONTROL_LINK
+ /* This function blocks for 73ms */
+ bind_init();
+#endif
sys_time_init();
actuators_init();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5393] added spektrum satellite binding,
Eric <=