diff options
| author | Damien George | 2016-01-29 22:31:56 +0000 |
|---|---|---|
| committer | Damien George | 2016-01-29 22:31:56 +0000 |
| commit | ea89b80ff4f842b010f9f8ec3280675f81bc6bc5 (patch) | |
| tree | e3879bcf6d78ee5efeb8cfea32ccad80cf5763e6 /stmhal/usbd_cdc_interface.c | |
| parent | d3631339176b768ce1ffdc535223385245ff906b (diff) | |
stmhal: Make TIM3 available for use by the user.
TIM3 is no longer used by USB CDC for triggering outgoing data, so we
can now make it available to the user.
PWM fading on LED(4) is now gone, but will be reinstated in a new way.
Diffstat (limited to 'stmhal/usbd_cdc_interface.c')
| -rw-r--r-- | stmhal/usbd_cdc_interface.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stmhal/usbd_cdc_interface.c b/stmhal/usbd_cdc_interface.c index 801bcb753..b42d3e219 100644 --- a/stmhal/usbd_cdc_interface.c +++ b/stmhal/usbd_cdc_interface.c @@ -140,10 +140,6 @@ static int8_t CDC_Itf_Init(void) TIM_Config(); #endif - /*##-4- Start the TIM Base generation in interrupt mode ####################*/ - /* Start Channel1 */ - __HAL_TIM_ENABLE_IT(&TIM3_Handle, TIM_IT_UPDATE); - /*##-5- Set Application Buffers ############################################*/ USBD_CDC_SetTxBuffer(&hUSBDDevice, UserTxBuffer, 0); USBD_CDC_SetRxBuffer(&hUSBDDevice, UserRxBuffer); |
