From 7c947ea6d593f5009400a97d2774ac8db49a5f6b Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Sat, 4 May 2024 18:42:23 +0200 Subject: [PATCH] Removed some GPIO debugging. --- f4/usb/src/usb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/f4/usb/src/usb.c b/f4/usb/src/usb.c index ba5887a..e79b5de 100644 --- a/f4/usb/src/usb.c +++ b/f4/usb/src/usb.c @@ -142,7 +142,6 @@ int8_t usb_cdc_receive(uint8_t* Buf, uint32_t *Len) { int i=0; - HAL_GPIO_WritePin(GPIOD,GPIO_PIN_14,GPIO_PIN_SET); /* USER CODE BEGIN 6 */ for(i=0;i<(*Len);i++) { @@ -159,7 +158,6 @@ int8_t usb_cdc_receive(uint8_t* Buf, uint32_t *Len) } USBD_CDC_SetRxBuffer(&USBHandle, &Buf[0]); USBD_CDC_ReceivePacket(&USBHandle); - HAL_GPIO_WritePin(GPIOD,GPIO_PIN_14,GPIO_PIN_RESET); return (USBD_OK); /* USER CODE END 6 */ -- GitLab