aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx/USB_CDC/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-20 10:33:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-20 10:33:27 +0000
commit2e7aee242c1df1223b46abaaef063b0bbccd77e9 (patch)
treee5b307d89948e1826213acc8dd9d023b1201229f /testhal/STM32/STM32F0xx/USB_CDC/main.c
parent372b97790c3992966043fcbf3f8e1955c6ab97ce (diff)
downloadChibiOS-2e7aee242c1df1223b46abaaef063b0bbccd77e9.tar.gz
ChibiOS-2e7aee242c1df1223b46abaaef063b0bbccd77e9.tar.bz2
ChibiOS-2e7aee242c1df1223b46abaaef063b0bbccd77e9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F0xx/USB_CDC/main.c')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/main.c b/testhal/STM32/STM32F0xx/USB_CDC/main.c
index dc29d6855..f6f304cdc 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F0xx/USB_CDC/main.c
@@ -451,9 +451,9 @@ static msg_t Thread1(void *arg) {
chRegSetThreadName("blinker");
while (TRUE) {
systime_t time = serusbcfg.usbp->state == USB_ACTIVE ? 250 : 500;
- palClearPad(GPIOE, GPIOE_LED3_RED);
+ palClearPad(GPIOC, GPIOC_LED_RED);
chThdSleepMilliseconds(time);
- palSetPad(GPIOE, GPIOE_LED3_RED);
+ palSetPad(GPIOC, GPIOC_LED_RED);
chThdSleepMilliseconds(time);
}
}