aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/IRQ_STORM_FPU
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-19 21:16:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-19 21:16:58 +0000
commit8fc9de2fdb1b74350e7af45eba18ed3968812b20 (patch)
tree7f449771665ca22341b89e9d31e1eb56998f3ebc /testhal/STM32F4xx/IRQ_STORM_FPU
parent8267937f49463e651eaf911260c20c901e5c8887 (diff)
downloadChibiOS-8fc9de2fdb1b74350e7af45eba18ed3968812b20.tar.gz
ChibiOS-8fc9de2fdb1b74350e7af45eba18ed3968812b20.tar.bz2
ChibiOS-8fc9de2fdb1b74350e7af45eba18ed3968812b20.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3642 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/IRQ_STORM_FPU')
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
index 47194e090..73c98bf6f 100644
--- a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
@@ -75,11 +75,11 @@ static msg_t WorkerThread(void *arg) {
* GPT2 callback.
*/
static void gpt2cb(GPTDriver *gptp) {
-/* float f1, f2, f3, f4, f5;*/
+/* float f1, f2, f3, f4, f5;
(void)gptp;
-/* f1 = ff1(2);
+ f1 = ff1(2);
f2 = ff1(3);
f3 = ff1(4);
f5 = f1 + f2 + f3;
@@ -87,14 +87,13 @@ static void gpt2cb(GPTDriver *gptp) {
f5 = ff2(f5, f4, f5, f4);
if (f5 != 196)
chSysHalt();*/
- volatile float f1 = ff1(67);
}
/*
* GPT3 callback.
*/
static void gpt3cb(GPTDriver *gptp) {
- float f1, f2, f3, f4, f5;
+/* float f1, f2, f3, f4, f5;
(void)gptp;
@@ -105,7 +104,8 @@ static void gpt3cb(GPTDriver *gptp) {
f4 = ff1(4);
f5 = ff2(f5, f4, f5, f4);
if (f5 != 100)
- chSysHalt();
+ chSysHalt();*/
+ volatile float f1 = ff1(1);
}
/*