Usb serial fix queue full crash (#1763)

* fixed usb serial queue crashing

* fixed usb input buffer handling

* fixed black screen issue
This commit is contained in:
Bernd Herzog
2024-01-12 21:49:10 +01:00
committed by GitHub
parent 0a8194fa10
commit 409242507c
3 changed files with 26 additions and 15 deletions
+3 -1
View File
@@ -24,8 +24,10 @@
#include "ch.h"
#include "hal.h"
#define USB_BULK_BUFFER_SIZE 64
#ifndef USBSERIAL_BUFFERS_SIZE
#define USBSERIAL_BUFFERS_SIZE 400
#define USBSERIAL_BUFFERS_SIZE 128
#endif
struct SerialUSBDriverVMT {