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/STM32F4xx/GPT/main.c | 2 ++ testhal/STM32F4xx/IRQ_STORM/main.c | 2 ++ testhal/STM32F4xx/IRQ_STORM_FPU/main.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'testhal/STM32F4xx') diff --git a/testhal/STM32F4xx/GPT/main.c b/testhal/STM32F4xx/GPT/main.c index 2d01d31ff..88fb58e7d 100644 --- a/testhal/STM32F4xx/GPT/main.c +++ b/testhal/STM32F4xx/GPT/main.c @@ -44,6 +44,7 @@ static void gpt3cb(GPTDriver *gptp) { static const GPTConfig gpt4cfg = { 10000, /* 10kHz timer clock.*/ gpt4cb, /* Timer callback.*/ + 0, 0 }; @@ -53,6 +54,7 @@ static const GPTConfig gpt4cfg = { static const GPTConfig gpt3cfg = { 10000, /* 10kHz timer clock.*/ gpt3cb, /* Timer callback.*/ + 0, 0 }; diff --git a/testhal/STM32F4xx/IRQ_STORM/main.c b/testhal/STM32F4xx/IRQ_STORM/main.c index 4994e77e3..861a6e033 100644 --- a/testhal/STM32F4xx/IRQ_STORM/main.c +++ b/testhal/STM32F4xx/IRQ_STORM/main.c @@ -148,6 +148,7 @@ static void gpt3cb(GPTDriver *gptp) { static const GPTConfig gpt4cfg = { 1000000, /* 1MHz timer clock.*/ gpt4cb, /* Timer callback.*/ + 0, 0 }; @@ -157,6 +158,7 @@ static const GPTConfig gpt4cfg = { static const GPTConfig gpt3cfg = { 1000000, /* 1MHz timer clock.*/ gpt3cb, /* Timer callback.*/ + 0, 0 }; diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c index 4b925d600..7ec769a9c 100644 --- a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c +++ b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c @@ -128,6 +128,7 @@ static void gpt3cb(GPTDriver *gptp) { static const GPTConfig gpt4cfg = { 1000000, /* 1MHz timer clock.*/ gpt4cb, /* Timer callback.*/ + 0, 0 }; @@ -137,6 +138,7 @@ static const GPTConfig gpt4cfg = { static const GPTConfig gpt3cfg = { 1000000, /* 1MHz timer clock.*/ gpt3cb, /* Timer callback.*/ + 0, 0 }; -- cgit v1.2.3