aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/IRQ_STORM
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-15 19:47:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-15 19:47:07 +0000
commitc99f165389491aa369e88d116985e03afe3fd587 (patch)
tree883b1053277a4dcd413c64bc9708f9d0ef868758 /testhal/STM32F4xx/IRQ_STORM
parent57bf9c83de1453dad3e76d91054c12066c04fa18 (diff)
downloadChibiOS-c99f165389491aa369e88d116985e03afe3fd587.tar.gz
ChibiOS-c99f165389491aa369e88d116985e03afe3fd587.tar.bz2
ChibiOS-c99f165389491aa369e88d116985e03afe3fd587.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3496 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/IRQ_STORM')
-rw-r--r--testhal/STM32F4xx/IRQ_STORM/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32F4xx/IRQ_STORM/main.c b/testhal/STM32F4xx/IRQ_STORM/main.c
index 338f102e0..20dda712f 100644
--- a/testhal/STM32F4xx/IRQ_STORM/main.c
+++ b/testhal/STM32F4xx/IRQ_STORM/main.c
@@ -288,7 +288,7 @@ int main(void) {
println("");
saturated = FALSE;
threshold = 0;
- for (interval = 2000; interval >= 20; interval -= interval / 10) {
+ for (interval = 2000; interval >= 10; interval -= interval / 10) {
gptStartContinuous(&GPTD2, interval - 1); /* Slightly out of phase.*/
gptStartContinuous(&GPTD3, interval + 1); /* Slightly out of phase.*/
chThdSleepMilliseconds(1000);