From f40d33139e0bd179b766d1576dfd7b494734ff67 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 7 Mar 2014 18:01:52 +0000 Subject: STM32 GPT enhancements. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6758 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F0xx/IRQ_STORM/chconf.h | 2 +- testhal/STM32F0xx/IRQ_STORM/main.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'testhal/STM32F0xx') diff --git a/testhal/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32F0xx/IRQ_STORM/chconf.h index 7ff9a1440..1b81d6805 100644 --- a/testhal/STM32F0xx/IRQ_STORM/chconf.h +++ b/testhal/STM32F0xx/IRQ_STORM/chconf.h @@ -137,7 +137,7 @@ * * @note The default is @p TRUE. */ -#define CH_CFG_USE_TM TRUE +#define CH_CFG_USE_TM FALSE /** * @brief Threads registry APIs. diff --git a/testhal/STM32F0xx/IRQ_STORM/main.c b/testhal/STM32F0xx/IRQ_STORM/main.c index 5c520ca6b..22baf6e62 100644 --- a/testhal/STM32F0xx/IRQ_STORM/main.c +++ b/testhal/STM32F0xx/IRQ_STORM/main.c @@ -148,6 +148,7 @@ static void gpt3cb(GPTDriver *gptp) { static const GPTConfig gpt2cfg = { 1000000, /* 1MHz timer clock.*/ gpt2cb, /* Timer callback.*/ + 0, 0 }; @@ -157,6 +158,7 @@ static const GPTConfig gpt2cfg = { static const GPTConfig gpt3cfg = { 1000000, /* 1MHz timer clock.*/ gpt3cb, /* Timer callback.*/ + 0, 0 }; -- cgit v1.2.3