Skip to content

Commit

Permalink
Reduce buffer sizes for Teensy 3.2/3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed Aug 19, 2018
1 parent 1fef777 commit 99966e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Globals.h
Expand Up @@ -97,7 +97,7 @@ const uint16_t RX_BLOCK_SIZE = 2U;
const uint16_t TX_RINGBUFFER_SIZE = 500U;
const uint16_t RX_RINGBUFFER_SIZE = 600U;

#if defined(STM32F105xC)
#if defined(STM32F105xC) || defined(__MK20DX256__)
const uint16_t TX_BUFFER_LEN = 2000U;
#else
const uint16_t TX_BUFFER_LEN = 4000U;
Expand Down
2 changes: 1 addition & 1 deletion SerialRB.h
Expand Up @@ -32,7 +32,7 @@ Boston, MA 02110-1301, USA.
#include <Arduino.h>
#endif

#if defined(STM32F105xC)
#if defined(STM32F105xC) || defined(__MK20DX256__)
const uint16_t SERIAL_RINGBUFFER_SIZE = 370U;
#else
const uint16_t SERIAL_RINGBUFFER_SIZE = 1000U;
Expand Down

0 comments on commit 99966e2

Please sign in to comment.