Use defined buffer sizes
This commit is contained in:
parent
51bd0c5621
commit
09316e0e6f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user