diff --git a/user/screen.c b/user/screen.c index c75bd8e..9b3006c 100644 --- a/user/screen.c +++ b/user/screen.c @@ -1373,7 +1373,8 @@ screen_report_sgr(char *buffer) //region --- Printing --- -static const char *putchar_graphic(const char *ch) +static const char* ICACHE_FLASH_ATTR +putchar_graphic(const char *ch) { static char buf[4]; diff --git a/user/serial.c b/user/serial.c index 74a31d1..f2dcae3 100644 --- a/user/serial.c +++ b/user/serial.c @@ -21,7 +21,7 @@ static void buf_putc(char c) static void ICACHE_FLASH_ATTR buf_pop(void *unused) { - u32 quantity = 32; + u32 quantity = 16; u32 old_ls; while (quantity > 0) { // stop when done diff --git a/user/utf8.h b/user/utf8.h index 81f9372..d0c0e57 100644 --- a/user/utf8.h +++ b/user/utf8.h @@ -8,7 +8,7 @@ #include // 160 is maximum possible -#define UNICODE_CACHE_SIZE 160 +#define UNICODE_CACHE_SIZE 100 typedef u8 UnicodeCacheRef; #define IS_UNICODE_CACHE_REF(c) ((c) < 32 || (c) >= 127)