shortened utf cache & added missing flash storage attr
This commit is contained in:
+2
-1
@@ -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];
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
#include <c_types.h>
|
||||
|
||||
// 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)
|
||||
|
||||
Reference in New Issue
Block a user