From 5770d1835ff33f0b6c72ecd3ce6d2402868ed19b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 8 Jul 2012 19:24:36 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4446 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h | 2 +- testhal/STM32F4xx/IRQ_STORM_FPU/main.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'testhal') 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); } } -- cgit v1.2.3