aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 19:24:36 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 19:24:36 +0000
commit5770d1835ff33f0b6c72ecd3ce6d2402868ed19b (patch)
tree0eeb42170710b569234c390a07076f7574ca3881 /testhal/STM32F4xx
parent3739e9d659073b757523b59b8173d46d3fa676df (diff)
downloadChibiOS-5770d1835ff33f0b6c72ecd3ce6d2402868ed19b.tar.gz
ChibiOS-5770d1835ff33f0b6c72ecd3ce6d2402868ed19b.tar.bz2
ChibiOS-5770d1835ff33f0b6c72ecd3ce6d2402868ed19b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4446 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx')
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h2
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/main.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
index 4e5a16796..08b919c73 100644
--- a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
@@ -38,7 +38,7 @@
* @brief Enables the TM subsystem.
*/
#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
-#define HAL_USE_TM TRUE
+#define HAL_USE_TM FALSE
#endif
/**
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
index 0b0e86740..c32cbf10f 100644
--- a/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/main.c
@@ -150,29 +150,29 @@ static const GPTConfig gpt3cfg = {
static void print(char *p) {
while (*p) {
- chIOPut(&SD2, *p++);
+ chSequentialStreamPut(&SD2, *p++);
}
}
static void println(char *p) {
while (*p) {
- chIOPut(&SD2, *p++);
+ chSequentialStreamPut(&SD2, *p++);
}
- chIOWriteTimeout(&SD2, (uint8_t *)"\r\n", 2, TIME_INFINITE);
+ chSequentialStreamWrite(&SD2, (uint8_t *)"\r\n", 2);
}
static void printn(uint32_t n) {
char buf[16], *p;
if (!n)
- chIOPut(&SD2, '0');
+ chSequentialStreamPut(&SD2, '0');
else {
p = buf;
while (n)
*p++ = (n % 10) + '0', n /= 10;
while (p > buf)
- chIOPut(&SD2, *--p);
+ chSequentialStreamPut(&SD2, *--p);
}
}