[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5718] Make MS2001 hack/workaround even more strict/
From: |
Allen Ibara |
Subject: |
[paparazzi-commits] [5718] Make MS2001 hack/workaround even more strict/ paranoid in attempt to catch more bogus values |
Date: |
Fri, 27 Aug 2010 06:11:53 +0000 |
Revision: 5718
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5718
Author: aibara
Date: 2010-08-27 06:11:49 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
Make MS2001 hack/workaround even more strict/paranoid in attempt to catch more
bogus values
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/arch/stm32/peripherals/booz_ms2001_arch.h
Modified:
paparazzi3/trunk/sw/airborne/booz/arch/stm32/peripherals/booz_ms2001_arch.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/arch/stm32/peripherals/booz_ms2001_arch.h
2010-08-26 21:07:00 UTC (rev 5717)
+++ paparazzi3/trunk/sw/airborne/booz/arch/stm32/peripherals/booz_ms2001_arch.h
2010-08-27 06:11:49 UTC (rev 5718)
@@ -126,7 +126,7 @@
/* ASSERT((ms2001_status == MS2001_READING_RES), \
* DEBUG_MS2001, MS2001_ERR_SPURIOUS_DMA_IRQ); \
*/ \
- if (abs(ms2001_last_reading) < 2000) \
+ if (abs(ms2001_last_reading) < 1000) \
ms2001_values[ms2001_cur_axe] = ms2001_last_reading; \
Ms2001Unselect(); \
ms2001_cur_axe++; \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5718] Make MS2001 hack/workaround even more strict/ paranoid in attempt to catch more bogus values,
Allen Ibara <=