STM32Cube F4 V1.5.0 -- suggested code improvement
Posted on April 23, 2015 at 03:20The function (as defined in usbd_cdc.c) uint8_t USBD_CDC_TransmitPacket(USBD_HandleTypeDef *pdev)in fact returns values of type USBD_StatusTypeDef, not uint8_t.This causes type collisions, and IAR warnings of the fo...