From e606d7a1ce71f47e54e4294f28f1f7cd5561afe1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 28 Aug 2017 08:58:50 +0000 Subject: Added STM32F303 support to the multi-target USB_CDC demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10494 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/USB_CDC/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/USB_CDC/main.c') diff --git a/testhal/STM32/USB_CDC/main.c b/testhal/STM32/USB_CDC/main.c index fbe916158..e4468cb1f 100644 --- a/testhal/STM32/USB_CDC/main.c +++ b/testhal/STM32/USB_CDC/main.c @@ -98,9 +98,9 @@ static THD_FUNCTION(Thread1, arg) { systime_t time; time = serusbcfg.usbp->state == USB_ACTIVE ? 250 : 500; - palClearLine(LINE_LED_GREEN); + palClearLine(PORTAB_BLINK_LED1); chThdSleepMilliseconds(time); - palSetLine(LINE_LED_GREEN); + palSetLine(PORTAB_BLINK_LED1); chThdSleepMilliseconds(time); } } -- cgit v1.2.3