core: Make console buffer smaller for atmega32u2
memory shortage can happen when enabling all features
This commit is contained in:
parent
f61b50395a
commit
294403ffbf
1 changed files with 5 additions and 1 deletions
|
|
@ -105,7 +105,11 @@ host_driver_t lufa_driver = {
|
||||||
* Console
|
* Console
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#ifdef CONSOLE_ENABLE
|
#ifdef CONSOLE_ENABLE
|
||||||
|
# ifdef _AVR_ATmega32U2_H_
|
||||||
|
# define SENDBUF_SIZE 128
|
||||||
|
# else
|
||||||
# define SENDBUF_SIZE 256
|
# define SENDBUF_SIZE 256
|
||||||
|
# endif
|
||||||
static uint8_t sbuf[SENDBUF_SIZE];
|
static uint8_t sbuf[SENDBUF_SIZE];
|
||||||
static ringbuf_t sendbuf = {
|
static ringbuf_t sendbuf = {
|
||||||
.buffer = sbuf,
|
.buffer = sbuf,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue