aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/IRQ_STORM_FPU
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 07:36:02 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 07:36:02 +0000
commit32868225ce0e9ca493c79fd802ff633d00ceb24a (patch)
tree8f86c379aed41832f2ff644c2a3c4c091361fe49 /testhal/STM32/STM32F4xx/IRQ_STORM_FPU
parentaed82faf72f86bfdca6568102953239116ba90c1 (diff)
downloadChibiOS-32868225ce0e9ca493c79fd802ff633d00ceb24a.tar.gz
ChibiOS-32868225ce0e9ca493c79fd802ff633d00ceb24a.tar.bz2
ChibiOS-32868225ce0e9ca493c79fd802ff633d00ceb24a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9203 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/IRQ_STORM_FPU')
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
index b72d9210f..2d558d26a 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c
@@ -171,29 +171,29 @@ CH_FAST_IRQ_HANDLER(Vector184) {
static void print(char *p) {
while (*p) {
- chSequentialStreamPut(&SD2, *p++);
+ streamPut(&SD2, *p++);
}
}
static void println(char *p) {
while (*p) {
- chSequentialStreamPut(&SD2, *p++);
+ streamPut(&SD2, *p++);
}
- chSequentialStreamWrite(&SD2, (uint8_t *)"\r\n", 2);
+ streamWrite(&SD2, (uint8_t *)"\r\n", 2);
}
static void printn(uint32_t n) {
char buf[16], *p;
if (!n)
- chSequentialStreamPut(&SD2, '0');
+ streamPut(&SD2, '0');
else {
p = buf;
while (n)
*p++ = (n % 10) + '0', n /= 10;
while (p > buf)
- chSequentialStreamPut(&SD2, *--p);
+ streamPut(&SD2, *--p);
}
}