aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 13:01:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 13:01:33 +0000
commit82e9c928eb0adc2508bbd70b458362efa512049b (patch)
tree5cc6c4dee2eea9ba26678e0ada91ea6344106880 /testhal/STM32/STM32F4xx
parent6eab72aacff3780ece128b9eaad977f910c07873 (diff)
downloadChibiOS-82e9c928eb0adc2508bbd70b458362efa512049b.tar.gz
ChibiOS-82e9c928eb0adc2508bbd70b458362efa512049b.tar.bz2
ChibiOS-82e9c928eb0adc2508bbd70b458362efa512049b.zip
Fixed bug #542.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7430 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx')
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/main.c b/testhal/STM32/STM32F4xx/USB_CDC/main.c
index 054c4e23c..a8b57cd25 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC/main.c
@@ -442,7 +442,7 @@ static msg_t Thread1(void *arg) {
(void)arg;
chRegSetThreadName("blinker");
- while (TRUE) {
+ while (true) {
systime_t time;
time = serusbcfg.usbp->state == USB_ACTIVE ? 250 : 500;