Closed Steffen-W closed 1 year ago
Could you please cleanup it and make 1 commit?
I can do that with pleasure. Do you agree with the suggestions?
The code works with a Linux as well as windows pc. I had tested it at least for msc and cdc.
Thanks @Steffen-W
Fixes the problem of buffer processing.
Correction affects the function
size_t CDCusb::write(const uint8_t *buffer, size_t size)
Crashes due to the use of this function are avoided. Likewise, crashing due to the use of
printf
is avoided. This function usesCDCusb::write
. Please merge.