From 51d6b93415a0e6d1c8929c1b9deaf6ec6e5dceb8 Mon Sep 17 00:00:00 2001 From: Rob Riggs Date: Sun, 28 Oct 2018 21:02:14 -0500 Subject: [PATCH] Reduce buffer size to max allowed for USB. --- TNC/PortInterface.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TNC/PortInterface.hpp b/TNC/PortInterface.hpp index 3607152..60109b1 100644 --- a/TNC/PortInterface.hpp +++ b/TNC/PortInterface.hpp @@ -11,7 +11,7 @@ namespace mobilinkd { namespace tnc { -const uint32_t TX_BUFFER_SIZE = 512; +const uint32_t TX_BUFFER_SIZE = 64; // Cannot be larger that USB_FS_MAX_PACKET_SIZE. extern uint8_t TxBuffer[TX_BUFFER_SIZE]; /**