Use defined buffer sizes
This commit is contained in:
1 parent
51bd0c5621
commit
09316e0e6f
1 file changed
+2
-2
@@ -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