diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-02 07:36:02 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-02 07:36:02 +0000 |
commit | 32868225ce0e9ca493c79fd802ff633d00ceb24a (patch) | |
tree | 8f86c379aed41832f2ff644c2a3c4c091361fe49 /testhal/STM32/STM32F4xx | |
parent | aed82faf72f86bfdca6568102953239116ba90c1 (diff) | |
download | ChibiOS-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')
-rw-r--r-- | testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c | 10 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC/main.c | 1 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c | 1 |
3 files changed, 5 insertions, 7 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);
}
}
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/main.c b/testhal/STM32/STM32F4xx/USB_CDC/main.c index 27e66adc8..971980ec0 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/main.c +++ b/testhal/STM32/STM32F4xx/USB_CDC/main.c @@ -19,7 +19,6 @@ #include "ch.h"
#include "hal.h"
-#include "test.h"
#include "shell.h"
#include "chprintf.h"
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c index 6519e845b..6521c1ded 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/main.c @@ -19,7 +19,6 @@ #include "ch.h"
#include "hal.h"
-#include "test.h"
#include "shell.h"
#include "chprintf.h"
|