Use defined buffer sizes
This commit is contained in:
@@ -91,8 +91,8 @@ class VirtualComPort {
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr auto TX_BUFFER_SIZE = 64;
|
||||
static constexpr auto RX_BUFFER_SIZE = 64;
|
||||
static constexpr auto TX_BUFFER_SIZE = CDC_DATA_FS_OUT_PACKET_SIZE;
|
||||
static constexpr auto RX_BUFFER_SIZE = CDC_DATA_FS_IN_PACKET_SIZE;
|
||||
|
||||
static Buffer<TX_BUFFER_SIZE> m_txBuffer;
|
||||
static Buffer<TX_BUFFER_SIZE> m_usbAsyncTxBuffer;
|
||||
|
||||
Reference in New Issue
Block a user