diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-28 08:58:50 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-28 08:58:50 +0000 |
commit | e606d7a1ce71f47e54e4294f28f1f7cd5561afe1 (patch) | |
tree | 6e4c733f32ee6a069bce4c178f88ec0a307bd169 /testhal/STM32/USB_CDC/main.c | |
parent | ea39ee0c87d82174aeba1b99ca12d21a4e08865c (diff) | |
download | ChibiOS-e606d7a1ce71f47e54e4294f28f1f7cd5561afe1.tar.gz ChibiOS-e606d7a1ce71f47e54e4294f28f1f7cd5561afe1.tar.bz2 ChibiOS-e606d7a1ce71f47e54e4294f28f1f7cd5561afe1.zip |
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
Diffstat (limited to 'testhal/STM32/USB_CDC/main.c')
-rw-r--r-- | testhal/STM32/USB_CDC/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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);
}
}
|